Sorry these took a while! This version moves the new tracepoints closer to the vfs layer, into the non-version specific common vfs helpers. I've also made separate patches that remove the dprintks. Since the new tracepoints aren't in the same places as the old dprintk's, there could be an argument for keeping them. I'm fine with either. Signed-off-by: Jeff Layton <jlayton@xxxxxxxxxx> --- Changes in v3: - move most of the tracepoints into non-version specific nfsd/vfs.c calls - rename them with a nfsd_vfs_* prefix - remove the dprintks in separate patches - Link to v2: https://lore.kernel.org/r/20250409-nfsd-tracepoints-v2-0-cf4e084fdd9c@xxxxxxxxxx Changes in v2: - Break tracepoints out into multiple patches - Flesh out the tracepoints in these locations to display the same info as legacy dprintks. - have all the tracepoints SVC_XPRT_ENDPOINT_* info - update svc_xprt_dequeue tracepoint to show how long xprt was on queue - Link to v1: https://lore.kernel.org/r/20250306-nfsd-tracepoints-v1-0-4405bf41b95f@xxxxxxxxxx --- Jeff Layton (17): sunrpc: move the SVC_RQST_EVENT_*() macros to common header nfsd: add a tracepoint for nfsd_setattr nfsd: add a tracepoint to nfsd_lookup_dentry nfsd: add nfsd_vfs_create tracepoints nfsd: add tracepoint to nfsd_symlink nfsd: add tracepoint to nfsd_link() nfsd: add tracepoints for unlink events nfsd: add tracepoint to nfsd_rename nfsd: add tracepoint to nfsd_readdir nfsd: add tracepoint for getattr and statfs events nfsd: remove old v2/3 create path dprintks nfsd: remove old v2/3 SYMLINK dprintks nfsd: remove old LINK dprintks nfsd: remove REMOVE/RMDIR dprintks nfsd: remove dprintks for v2/3 RENAME events nfsd: remove legacy READDIR dprintks nfsd: remove legacy dprintks from GETATTR and STATFS codepaths fs/nfsd/nfs3proc.c | 63 +----------- fs/nfsd/nfs4proc.c | 2 + fs/nfsd/nfsproc.c | 35 +------ fs/nfsd/trace.h | 218 ++++++++++++++++++++++++++++++++++++++++++ fs/nfsd/vfs.c | 18 +++- include/trace/events/sunrpc.h | 23 ----- include/trace/misc/fs.h | 21 ++++ include/trace/misc/sunrpc.h | 23 +++++ 8 files changed, 287 insertions(+), 116 deletions(-) --- base-commit: d417fc0a03710ea5ed4c50d8eff3cf29cd86c87f change-id: 20250303-nfsd-tracepoints-c82add9155a6 Best regards, -- Jeff Layton <jlayton@xxxxxxxxxx>