@@ -1045,7 +1045,8 @@ DECLARE_EVENT_CLASS(f2fs__submit_page_bio,
(unsigned long)__entry->index,
(unsigned long long)__entry->old_blkaddr,
(unsigned long long)__entry->new_blkaddr,
- show_bio_type(__entry->op, __entry->op_flags),
+ blk_op_str(__entry->op),
+ show_bio_op_flags(__entry->op_flags),
show_block_temp(__entry->temp),
show_block_type(__entry->type))
);
@@ -1097,7 +1098,8 @@ DECLARE_EVENT_CLASS(f2fs__bio,
TP_printk("dev = (%d,%d)/(%d,%d), rw = %s(%s), %s, sector = %lld, size = %u",
show_dev(__entry->target),
show_dev(__entry->dev),
- show_bio_type(__entry->op, __entry->op_flags),
+ blk_op_str(__entry->op),
+ show_bio_op_flags(__entry->op_flags),
show_block_type(__entry->type),
(unsigned long long)__entry->sector,
__entry->size)
Adjust the f2fs tracing code to use newly introduced block layer function blk_op_str() which converts the REQ_OP_XXX into the string XXX. Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> --- include/trace/events/f2fs.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)