Commit 52069449 authored by Chuck Lever's avatar Chuck Lever Committed by Anna Schumaker

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: default avatarChuck Lever <chuck.lever@oracle.com>
Signed-off-by: default avatarAnna Schumaker <Anna.Schumaker@Netapp.com>
parent 82476d9f
...@@ -32,7 +32,7 @@ DECLARE_EVENT_CLASS(rpc_task_status, ...@@ -32,7 +32,7 @@ DECLARE_EVENT_CLASS(rpc_task_status,
__entry->status = task->tk_status; __entry->status = task->tk_status;
), ),
TP_printk("task:%u@%u, status %d", TP_printk("task:%u@%u status=%d",
__entry->task_id, __entry->client_id, __entry->task_id, __entry->client_id,
__entry->status) __entry->status)
); );
...@@ -66,7 +66,7 @@ TRACE_EVENT(rpc_connect_status, ...@@ -66,7 +66,7 @@ TRACE_EVENT(rpc_connect_status,
__entry->status = status; __entry->status = status;
), ),
TP_printk("task:%u@%u, status %d", TP_printk("task:%u@%u status=%d",
__entry->task_id, __entry->client_id, __entry->task_id, __entry->client_id,
__entry->status) __entry->status)
); );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment