OSDN Git Service

kyber: add tracepoints
authorOmar Sandoval <osandov@fb.com>
Thu, 27 Sep 2018 22:55:55 +0000 (15:55 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 27 Sep 2018 23:34:59 +0000 (17:34 -0600)
commit6c3b7af1c975b87b86dcb2af233d1ae21eb05107
tree9854b83cbab19565d416620bd303c38847f2e856
parent6e25cb01ea206362616a2be469d4f3635f58ca63
kyber: add tracepoints

When debugging Kyber, it's really useful to know what latencies we've
been having, how the domain depths have been adjusted, and if we've
actually been throttling. Add three tracepoints, kyber_latency,
kyber_adjust, and kyber_throttled, to record that.

Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/kyber-iosched.c
include/trace/events/kyber.h [new file with mode: 0644]