Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
biolatpcts: Build fixes on recent kernels
* `struct request` definition recently moved from blkdev.h to blk-mq.h breaking both tools/biolatpcts and examples/tracing/biolatpcts. Fix them by also including blk-mq.h. * blk_account_io_done() got split into two parts - inline condition checks and the actual accounting with the latter now done in __blk_account_io_done(). The kprobe attachment needs to be conditionalized to work across the change. tools/biolatpcts was already updated but examples/tracing/biolatpcts wasn't. Fix it. Signed-off-by: Tejun Heo <[email protected]>
- Loading branch information