diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2018-01-03 15:38:25 -0500 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2018-01-23 09:44:39 -0500 |
commit | 82476d9f955be0dfefadad22a87be6151cd70777 (patch) | |
tree | b4b73d0bb569d36d44055ae3d790ed94d6083155 /include/trace/events | |
parent | 9ab6d89e74785378cf69285375a2a6e0c63c51b2 (diff) | |
download | op-kernel-dev-82476d9f955be0dfefadad22a87be6151cd70777.zip op-kernel-dev-82476d9f955be0dfefadad22a87be6151cd70777.tar.gz |
SUNRPC: Trace xprt_timer events
Track RPC timeouts: report the XID and the server address to match
the content of network capture.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'include/trace/events')
-rw-r--r-- | include/trace/events/sunrpc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/trace/events/sunrpc.h b/include/trace/events/sunrpc.h index 8c153f6..7804d85 100644 --- a/include/trace/events/sunrpc.h +++ b/include/trace/events/sunrpc.h @@ -390,6 +390,10 @@ DECLARE_EVENT_CLASS(rpc_xprt_event, __entry->status) ); +DEFINE_EVENT(rpc_xprt_event, xprt_timer, + TP_PROTO(struct rpc_xprt *xprt, __be32 xid, int status), + TP_ARGS(xprt, xid, status)); + DEFINE_EVENT(rpc_xprt_event, xprt_lookup_rqst, TP_PROTO(struct rpc_xprt *xprt, __be32 xid, int status), TP_ARGS(xprt, xid, status)); |