diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2020-07-08 22:09:47 +0200 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2020-09-21 16:21:09 +0200 |
commit | db0a86c4266ac36769f54e2ce33fff0300c9bc00 (patch) | |
tree | f2479da2b82818d3dac4082b792ff4db73bb964f /include/trace | |
parent | SUNRPC: Remove dprintk call site in call_start() (diff) | |
download | linux-db0a86c4266ac36769f54e2ce33fff0300c9bc00.tar.xz linux-db0a86c4266ac36769f54e2ce33fff0300c9bc00.zip |
SUNRPC: Replace connect dprintk call sites with a tracepoint
This trace event can be used to audit transport connections from the
client.
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 90d7b9916fe3..0aa15cc3985d 100644 --- a/include/trace/events/sunrpc.h +++ b/include/trace/events/sunrpc.h @@ -983,6 +983,7 @@ DECLARE_EVENT_CLASS(rpc_xprt_lifetime_class, TP_ARGS(xprt)) DEFINE_RPC_XPRT_LIFETIME_EVENT(create); +DEFINE_RPC_XPRT_LIFETIME_EVENT(connect); DEFINE_RPC_XPRT_LIFETIME_EVENT(disconnect_auto); DEFINE_RPC_XPRT_LIFETIME_EVENT(disconnect_done); DEFINE_RPC_XPRT_LIFETIME_EVENT(disconnect_force); |