mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-05 01:54:09 +08:00
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 <chuck.lever@oracle.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
This commit is contained in:
parent
82476d9f95
commit
520694496a
@ -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,
|
|||||||
__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)
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user