NFSD: Add nfsd_clid_reclaim_complete tracepoint

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
Chuck Lever 2021-05-14 15:55:54 -04:00 committed by J. Bruce Fields
parent 7e3b32ace6
commit cee8aa0742
2 changed files with 2 additions and 0 deletions

View File

@ -3949,6 +3949,7 @@ nfsd4_reclaim_complete(struct svc_rqst *rqstp,
goto out; goto out;
status = nfs_ok; status = nfs_ok;
trace_nfsd_clid_reclaim_complete(&clp->cl_clientid);
nfsd4_client_record_create(clp); nfsd4_client_record_create(clp);
inc_reclaim_complete(clp); inc_reclaim_complete(clp);
out: out:

View File

@ -511,6 +511,7 @@ DEFINE_EVENT(nfsd_clientid_class, nfsd_clid_##name, \
TP_PROTO(const clientid_t *clid), \ TP_PROTO(const clientid_t *clid), \
TP_ARGS(clid)) TP_ARGS(clid))
DEFINE_CLIENTID_EVENT(reclaim_complete);
DEFINE_CLIENTID_EVENT(confirmed); DEFINE_CLIENTID_EVENT(confirmed);
DEFINE_CLIENTID_EVENT(expired); DEFINE_CLIENTID_EVENT(expired);
DEFINE_CLIENTID_EVENT(purged); DEFINE_CLIENTID_EVENT(purged);