Skip to content

Commit 8838daf

Browse files
henryZedchinner
authored andcommitted
xfs: missing space in xfs trace log
Add space between arguments would help someone to locate the key words they want, so break quoted strings at a space character. Such as below: [Before] kworker/1:0-280 [001] ..... 600.782135: xfs_bunmap: dev 7:0 ino 0x85 disize 0x0 fileoff 0x0 fsbcount 0x400000001fffffflags ATTRFORK ... [After] kworker/1:2-564 [001] ..... 23817.906160: xfs_bunmap: dev 7:0 ino 0x85 disize 0x0 fileoff 0x0 fsbcount 0x400000001fffff flags ATTRFORK ... Signed-off-by: Zeng Heng <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Signed-off-by: Dave Chinner <[email protected]>
1 parent a0ebf8c commit 8838daf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fs/xfs/xfs_trace.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1170,7 +1170,7 @@ DECLARE_EVENT_CLASS(xfs_dqtrx_class,
11701170
__entry->ino_res_used = qtrx->qt_ino_res_used;
11711171
__entry->icount_delta = qtrx->qt_icount_delta;
11721172
),
1173-
TP_printk("dev %d:%d dquot id 0x%x type %s flags %s"
1173+
TP_printk("dev %d:%d dquot id 0x%x type %s flags %s "
11741174
"blk_res %llu bcount_delta %lld delbcnt_delta %lld "
11751175
"rtblk_res %llu rtblk_res_used %llu rtbcount_delta %lld delrtb_delta %lld "
11761176
"ino_res %llu ino_res_used %llu icount_delta %lld",
@@ -1602,7 +1602,7 @@ TRACE_EVENT(xfs_bunmap,
16021602
__entry->caller_ip = caller_ip;
16031603
__entry->flags = flags;
16041604
),
1605-
TP_printk("dev %d:%d ino 0x%llx disize 0x%llx fileoff 0x%llx fsbcount 0x%llx"
1605+
TP_printk("dev %d:%d ino 0x%llx disize 0x%llx fileoff 0x%llx fsbcount 0x%llx "
16061606
"flags %s caller %pS",
16071607
MAJOR(__entry->dev), MINOR(__entry->dev),
16081608
__entry->ino,

0 commit comments

Comments
 (0)