Re: [PATCH -next v2] jbd2: use the correct print format

From: Jason Yan
Date: Wed Oct 26 2022 - 09:36:30 EST



On 2022/10/11 19:33, Bixuan Cui wrote:
The print format error was found when using ftrace event:
<...>-1406 [000] .... 23599442.895823: jbd2_end_commit: dev 252,8 transaction -1866216965 sync 0 head -1866217368
<...>-1406 [000] .... 23599442.896299: jbd2_start_commit: dev 252,8 transaction -1866216964 sync 0

Use the correct print format for transaction, head and tid.

Fixes: 879c5e6b7cb4 ('jbd2: convert instrumentation from markers to tracepoints')
Signed-off-by: Bixuan Cui<cuibixuan@xxxxxxxxxxxxxxxxx>
---
v1->v2: Make all the tid tracing consistent.

include/trace/events/jbd2.h | 44 ++++++++++++++++++++++----------------------
1 file changed, 22 insertions(+), 22 deletions(-)

Reviewed-by: Jason Yan <yanaijie@xxxxxxxxxx>