Skip to content

Commit a8f7c9c

Browse files
paulmckrcufbq
authored andcommitted
rcu: Trace expedited grace-period numbers in hexadecimal
This commit reformats the expedited grace-period numbers into hexadecimal for easier decoding and comparison. The normal grace-period numbers remain in decimal for the time being. Signed-off-by: Paul E. McKenney <paulmck@kernel.org> Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
1 parent 2db7ab8 commit a8f7c9c

File tree

1 file changed

+1
-1
lines changed
  • include/trace/events

1 file changed

+1
-1
lines changed

include/trace/events/rcu.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ TRACE_EVENT_RCU(rcu_exp_grace_period,
207207
__entry->gpevent = gpevent;
208208
),
209209

210-
TP_printk("%s %ld %s",
210+
TP_printk("%s %#lx %s",
211211
__entry->rcuname, __entry->gpseq, __entry->gpevent)
212212
);
213213

0 commit comments

Comments
 (0)