I've hacked together some improvements to the tracepoints that record server callback and lease management activity. I'm interested in review comments and testing. I'm sure I've missed your favorite edge case, so please let me know what it is! Changes since RFC: - Rebased firmly on v5.13-rc1 - Re-organized the SETCLIENTID/EXCHANGE_ID tracepoints - Fixed/replaced the use of '%.*s' - Re-ordered the series so those fixes come first In fact I'd like to submit the first 5 patches for v5.13-rc. --- Chuck Lever (25): NFSD: Fix TP_printk() format specifier in trace_nfsd_dirent() NFSD: Fix TP_printk() format specifier in nfsd_clid_class NFSD: Add nfsd_clid_cred_mismatch tracepoint NFSD: Add nfsd_clid_verf_mismatch tracepoint NFSD: Remove trace_nfsd_clid_inuse_err NFSD: Add nfsd_clid_confirmed tracepoint NFSD: Add nfsd_clid_reclaim_complete tracepoint NFSD: Add nfsd_clid_destroyed tracepoint NFSD: Add a couple more nfsd_clid_expired call sites NFSD: Add an RPC authflavor tracepoint display helper NFSD: Add tracepoints for SETCLIENTID edge cases NFSD: Add tracepoints for EXCHANGEID edge cases NFSD: Constify @fh argument of knfsd_fh_hash() NFSD: Capture every CB state transition NFSD: Drop TRACE_DEFINE_ENUM for NFSD4_CB_<state> macros NFSD: Add cb_lost tracepoint NFSD: Adjust cb_shutdown tracepoint NFSD: Remove spurious cb_setup_err tracepoint NFSD: Enhance the nfsd_cb_setup tracepoint NFSD: Add an nfsd_cb_lm_notify tracepoint NFSD: Add an nfsd_cb_offload tracepoint NFSD: Replace the nfsd_deleg_break tracepoint NFSD: Add an nfsd_cb_probe tracepoint NFSD: Remove the nfsd_cb_work and nfsd_cb_done tracepoints NFSD: Update nfsd_cb_args tracepoint fs/nfsd/nfs4callback.c | 45 ++++---- fs/nfsd/nfs4proc.c | 1 + fs/nfsd/nfs4state.c | 82 ++++++++----- fs/nfsd/nfsfh.h | 7 +- fs/nfsd/trace.h | 254 ++++++++++++++++++++++++++++++----------- 5 files changed, 264 insertions(+), 125 deletions(-) -- Chuck Lever