null_blk: add tracepoint helpers for zoned mode
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Wed, 25 Mar 2020 17:49:55 +0000 (10:49 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 27 Mar 2020 19:39:10 +0000 (13:39 -0600)
commitc51d04199826824944ed563748c9542eea27c2d7
treeb903c7c7edb2881ab10d29d0aee4715eba7cfeea
parent02694e86356dcf72d39329e52630234ad687e206
null_blk: add tracepoint helpers for zoned mode

This patch adds two new tracpoints for null_blk_zoned.c that allows us
to trace report-zones, zone-mgmt-op and zone-write operations which has
direct effect on the zone condition state machine.

Also, we update drivers/block/Makefile so that new null_blk related
tracefiles can be compiled.

Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/Makefile
drivers/block/null_blk_trace.c [new file with mode: 0644]
drivers/block/null_blk_trace.h [new file with mode: 0644]