Commit cee8aa07 authored by Chuck Lever's avatar Chuck Lever Committed by J. Bruce Fields

NFSD: Add nfsd_clid_reclaim_complete tracepoint

Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent 7e3b32ac
...@@ -3949,6 +3949,7 @@ nfsd4_reclaim_complete(struct svc_rqst *rqstp, ...@@ -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:
......
...@@ -511,6 +511,7 @@ DEFINE_EVENT(nfsd_clientid_class, nfsd_clid_##name, \ ...@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment