diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2021-05-14 21:57:26 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2021-05-18 19:44:04 +0200 |
commit | 4ade892ae1c35527584decb7fa026553d53cd03f (patch) | |
tree | 8c422947eaf2a7bae9e5864583c94520c5cbea6d /fs/nfsd/nfs4callback.c | |
parent | NFSD: Replace the nfsd_deleg_break tracepoint (diff) | |
download | linux-4ade892ae1c35527584decb7fa026553d53cd03f.tar.xz linux-4ade892ae1c35527584decb7fa026553d53cd03f.zip |
NFSD: Add an nfsd_cb_probe tracepoint
Record a tracepoint event when the server performs a callback
probe. This event can be enabled as a group with other nfsd_cb
tracepoints.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfs4callback.c')
-rw-r--r-- | fs/nfsd/nfs4callback.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/nfs4callback.c b/fs/nfsd/nfs4callback.c index c2a2a58b3581..ddab969d7865 100644 --- a/fs/nfsd/nfs4callback.c +++ b/fs/nfsd/nfs4callback.c @@ -998,6 +998,7 @@ static const struct rpc_call_ops nfsd4_cb_probe_ops = { */ void nfsd4_probe_callback(struct nfs4_client *clp) { + trace_nfsd_cb_probe(clp); nfsd4_mark_cb_state(clp, NFSD4_CB_UNKNOWN); set_bit(NFSD4_CLIENT_CB_UPDATE, &clp->cl_flags); nfsd4_run_cb(&clp->cl_cb_null); |