blktrace: port to tracepoints
This was a forward port of work done by Mathieu Desnoyers, I changed it to encode the 'what' parameter on the tracepoint name, so that one can register interest in specific events and not on classes of events to then check the 'what' parameter. Signed-off-by:Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by:
Jens Axboe <jens.axboe@oracle.com> Signed-off-by:
Ingo Molnar <mingo@elte.hu>
Showing
- block/Kconfig 1 addition, 0 deletionsblock/Kconfig
- block/blk-core.c 14 additions, 19 deletionsblock/blk-core.c
- block/blktrace.c 329 additions, 3 deletionsblock/blktrace.c
- block/elevator.c 4 additions, 3 deletionsblock/elevator.c
- drivers/md/dm.c 3 additions, 3 deletionsdrivers/md/dm.c
- fs/bio.c 2 additions, 1 deletionfs/bio.c
- include/linux/blktrace_api.h 3 additions, 169 deletionsinclude/linux/blktrace_api.h
- include/trace/block.h 60 additions, 0 deletionsinclude/trace/block.h
- mm/bounce.c 2 additions, 1 deletionmm/bounce.c
Please register or sign in to comment