Skip to content

Commit 5206944

Browse files
chuckleveramschuma-ntap
authored andcommitted
sunrpc: Format RPC events consistently for display
Clean up: Make it easier to use text search when browsing a trace report. Other events use "status=%d". Signed-off-by: Chuck Lever <[email protected]> Signed-off-by: Anna Schumaker <[email protected]>
1 parent 82476d9 commit 5206944

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/trace/events/sunrpc.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ DECLARE_EVENT_CLASS(rpc_task_status,
3232
__entry->status = task->tk_status;
3333
),
3434

35-
TP_printk("task:%u@%u, status %d",
35+
TP_printk("task:%u@%u status=%d",
3636
__entry->task_id, __entry->client_id,
3737
__entry->status)
3838
);
@@ -66,7 +66,7 @@ TRACE_EVENT(rpc_connect_status,
6666
__entry->status = status;
6767
),
6868

69-
TP_printk("task:%u@%u, status %d",
69+
TP_printk("task:%u@%u status=%d",
7070
__entry->task_id, __entry->client_id,
7171
__entry->status)
7272
);

0 commit comments

Comments
 (0)