blk-iocost: Add iocg idle state tracepoint
authorBaolin Wang <baolin.wang@linux.alibaba.com>
Thu, 10 Dec 2020 10:56:44 +0000 (18:56 +0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 17 Dec 2020 14:55:44 +0000 (07:55 -0700)
commit76efc1c770968d6c786e5340029f8005ed29b2a5
tree42c3265976e755e721485bee0474ed8bb9971e7c
parent1aba169e770911fb2afa63eb859883c4de2191e3
blk-iocost: Add iocg idle state tracepoint

It will be helpful to trace the iocg's whole state, including active and
idle state. And we can easily expand the original iocost_iocg_activate
trace event to support a state trace class, including active and idle
state tracing.

Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-iocost.c
include/trace/events/iocost.h