diff mbox series

[05/11] rcu: Trace expedited grace-period numbers in hexadecimal

Message ID 20250116202434.3783613-5-paulmck@kernel.org (mailing list archive)
State Accepted
Commit ac6b5896bf2d410944742a260235ae8c40a038ee
Headers show
Series Torture-test updates | expand

Commit Message

Paul E. McKenney Jan. 16, 2025, 8:24 p.m. UTC
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>
---
 include/trace/events/rcu.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/include/trace/events/rcu.h b/include/trace/events/rcu.h
index e81431deaa50b..63fd8aa99af7c 100644
--- a/include/trace/events/rcu.h
+++ b/include/trace/events/rcu.h
@@ -207,7 +207,7 @@  TRACE_EVENT_RCU(rcu_exp_grace_period,
 		__entry->gpevent = gpevent;
 	),
 
-	TP_printk("%s %ld %s",
+	TP_printk("%s %#lx %s",
 		  __entry->rcuname, __entry->gpseq, __entry->gpevent)
 );