Skip to content

Commit 163f11b

Browse files
riteshharjanitytso
authored andcommitted
ext4: fix remaining two trace events to use same printk convention
All ext4 & jbd2 trace events starts with "dev Major:Minor". While we are still improving/adding the ftrace events for FC, let's fix last two remaining trace events to follow the same convention. Signed-off-by: Ritesh Harjani <[email protected]> Reviewed-by: Harshad Shirwadkar <[email protected]> Reviewed-by: Jan Kara <[email protected]> Link: https://lore.kernel.org/r/8f33b163f0f29df2491c03b79f8ac96890ea5184.1647057583.git.riteshh@linux.ibm.com Signed-off-by: Theodore Ts'o <[email protected]>
1 parent 5641ace commit 163f11b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/trace/events/ext4.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2654,7 +2654,7 @@ TRACE_EVENT(ext4_fc_replay_scan,
26542654
__entry->off = off;
26552655
),
26562656

2657-
TP_printk("FC scan pass on dev %d,%d: error %d, off %d",
2657+
TP_printk("dev %d,%d error %d, off %d",
26582658
MAJOR(__entry->dev), MINOR(__entry->dev),
26592659
__entry->error, __entry->off)
26602660
);
@@ -2680,7 +2680,7 @@ TRACE_EVENT(ext4_fc_replay,
26802680
__entry->priv2 = priv2;
26812681
),
26822682

2683-
TP_printk("FC Replay %d,%d: tag %d, ino %d, data1 %d, data2 %d",
2683+
TP_printk("dev %d,%d: tag %d, ino %d, data1 %d, data2 %d",
26842684
MAJOR(__entry->dev), MINOR(__entry->dev),
26852685
__entry->tag, __entry->ino, __entry->priv1, __entry->priv2)
26862686
);

0 commit comments

Comments
 (0)