diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2020-07-08 22:09:26 +0200 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2020-09-21 16:21:08 +0200 |
commit | 9ce07ae5eb1d968c975a4dace0cac25d9e602c9a (patch) | |
tree | 40eb37d0a8ae84a5e80435ac3a8ddaa25715acf6 /include/trace | |
parent | SUNRPC: Update debugging instrumentation in xprt_do_reserve() (diff) | |
download | linux-9ce07ae5eb1d968c975a4dace0cac25d9e602c9a.tar.xz linux-9ce07ae5eb1d968c975a4dace0cac25d9e602c9a.zip |
SUNRPC: Replace dprintk() call site in xprt_prepare_transmit
Generate a trace event when an RPC request is queued without being
sent immediately.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'include/trace')
-rw-r--r-- | include/trace/events/sunrpc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/trace/events/sunrpc.h b/include/trace/events/sunrpc.h index 781277bb9cb2..9746a722c5a2 100644 --- a/include/trace/events/sunrpc.h +++ b/include/trace/events/sunrpc.h @@ -1093,6 +1093,7 @@ DECLARE_EVENT_CLASS(xprt_writelock_event, DEFINE_WRITELOCK_EVENT(reserve_xprt); DEFINE_WRITELOCK_EVENT(release_xprt); +DEFINE_WRITELOCK_EVENT(transmit_queued); DECLARE_EVENT_CLASS(xprt_cong_event, TP_PROTO( |