sunrpc: Format RPC events consistently for display
authorChuck Lever <chuck.lever@oracle.com>
Wed, 3 Jan 2018 20:38:33 +0000 (15:38 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 23 Jan 2018 14:44:39 +0000 (09:44 -0500)
Clean up: Make it easier to use text search when browsing a trace
report. Other events use "status=%d".

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
include/trace/events/sunrpc.h

index 7804d857fd24ac0e563462c99d010f2253b02f5a..0594e668b135eba546ec06c438be20e156f8ee79 100644 (file)
@@ -32,7 +32,7 @@ DECLARE_EVENT_CLASS(rpc_task_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->status)
 );
@@ -66,7 +66,7 @@ TRACE_EVENT(rpc_connect_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->status)
 );