diff options
author | Darrick J. Wong <djwong@kernel.org> | 2021-08-17 15:45:25 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-08-17 16:39:25 -0700 |
commit | 3670ebb38c2d50491f34bf07ea6ac1572cbdd78d (patch) | |
tree | a0b76022ca6a9af031e4075da2a2dc11b80dbcc8 /fs/xfs/xfs_trace.h | |
parent | 4d4f1ef08170480244093566b7c8b12347b3d65a (diff) |
xfs: standardize inode generation formatting in ftrace output
Always print inode generation in hexadecimal and preceded with the unit
"gen".
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_trace.h')
-rw-r--r-- | fs/xfs/xfs_trace.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_trace.h b/fs/xfs/xfs_trace.h index 3b53fd681ce7..984a23775340 100644 --- a/fs/xfs/xfs_trace.h +++ b/fs/xfs/xfs_trace.h @@ -2364,7 +2364,7 @@ DECLARE_EVENT_CLASS(xfs_log_recover_icreate_item_class, __entry->gen = be32_to_cpu(in_f->icl_gen); ), TP_printk("dev %d:%d agno 0x%x agbno 0x%x count %u isize %u blockcount 0x%x " - "gen %u", MAJOR(__entry->dev), MINOR(__entry->dev), + "gen 0x%x", MAJOR(__entry->dev), MINOR(__entry->dev), __entry->agno, __entry->agbno, __entry->count, __entry->isize, __entry->length, __entry->gen) ) |