Hengqi Chen 5a80bd075f block: introduce block_io_start/block_io_done tracepoints
Currently, several BCC ([0]) tools (biosnoop/biostacks/biotop) use
kprobes to blk_account_io_start/blk_account_io_done to implement
their functionalities. This is fragile because the target kernel
functions may be renamed ([1]) or inlined ([2]). So introduce two
new tracepoints for such use cases.

  [0]: https://github.com/iovisor/bcc
  [1]: https://github.com/iovisor/bcc/issues/3954
  [2]: https://github.com/iovisor/bcc/issues/4261

Tested-by: Francis Laniel <flaniel@linux.microsoft.com>
Signed-off-by: Hengqi Chen <hengqi.chen@gmail.com>
Tested-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/r/20230520084057.1467003-1-hengqi.chen@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2023-05-24 08:38:59 -06:00
..
2020-11-30 12:54:01 +00:00
2022-12-07 13:54:09 -08:00
2023-03-29 08:22:52 +01:00
2023-03-29 08:22:52 +01:00
2023-01-13 16:39:18 +01:00
2023-03-24 11:01:29 +01:00
2022-12-08 21:49:12 -05:00
2023-03-28 16:20:08 -07:00
2022-08-03 17:50:58 +02:00
2023-04-24 12:16:14 -07:00
2022-12-10 11:01:12 -05:00
2022-07-30 14:01:30 -04:00
2023-02-20 08:28:49 +00:00
2023-03-16 23:16:18 -04:00