summaryrefslogtreecommitdiffstats
path: root/include/trace/events
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2020-07-08 22:10:03 +0200
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2020-09-21 16:21:09 +0200
commit7c8099f6ada2654ef87aa992ec1b69b86249a353 (patch)
tree0b9ff2b9311754b5a18238945171fe22429accf0 /include/trace/events
parentSUNRPC: Add trace_rpc_timeout_status() (diff)
downloadlinux-7c8099f6ada2654ef87aa992ec1b69b86249a353.tar.xz
linux-7c8099f6ada2654ef87aa992ec1b69b86249a353.zip
SUNRPC: Trace call_refresh events
Clean up: Replace dprintk call sites. Note that rpc_call_rpcerror() already has a trace point, so perhaps adding trace_rpc_refresh_status() isn't necessary. However, it does report a particular category of error. 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/trace/events/sunrpc.h b/include/trace/events/sunrpc.h
index edb41e187cf6..3c5d707f7d54 100644
--- a/include/trace/events/sunrpc.h
+++ b/include/trace/events/sunrpc.h
@@ -262,6 +262,8 @@ DEFINE_RPC_STATUS_EVENT(call);
DEFINE_RPC_STATUS_EVENT(bind);
DEFINE_RPC_STATUS_EVENT(connect);
DEFINE_RPC_STATUS_EVENT(timeout);
+DEFINE_RPC_STATUS_EVENT(retry_refresh);
+DEFINE_RPC_STATUS_EVENT(refresh);
TRACE_EVENT(rpc_request,
TP_PROTO(const struct rpc_task *task),