summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@kernel.org>2024-10-03 22:35:00 +0300
committerAnna Schumaker <anna.schumaker@oracle.com>2024-10-04 21:52:04 +0300
commit76f5af9952064dc88d41be6fde1fce793ee7eabe (patch)
treebb8766e66ec2dd4f5ff8eaede2c2abe4bf757284 /tools/perf/scripts/python/flamegraph.py
parent009b15b5748549fec4f40f1142ce644a27ddc265 (diff)
downloadlinux-76f5af9952064dc88d41be6fde1fce793ee7eabe.tar.xz
nfsd/localio: fix nfsd_file tracepoints to handle NULL rqstp
Otherwise nfsd_file_acquire, nfsd_file_insert_err, and nfsd_file_cons_err will hit a NULL pointer when they are enabled and LOCALIO used. Example trace output (note xid is 0x0 and LOCALIO flag set): nfsd_file_acquire: xid=0x0 inode=0000000069a1b2e7 may_flags=WRITE|LOCALIO ref=1 nf_flags=HASHED|GC nf_may=WRITE nf_file=0000000070123234 status=0 Fixes: c63f0e48febf ("nfsd: add nfsd_file_acquire_local()") Signed-off-by: Mike Snitzer <snitzer@kernel.org> Reviewed-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions