summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorChuck Lever <cel@kernel.org>2026-07-12 16:45:46 -0400
committerChuck Lever <cel@kernel.org>2026-08-10 09:54:35 -0400
commit715a22ca5e159be81704a271742f8276a67e80a3 (patch)
tree5c407809b23ffd3e9a997fc67c10aed2f1d22840 /tools/perf/scripts/python/stackcollapse.py
parent1663ea5b24aa78012751910969dd3d1eb50971ac (diff)
NFSD: Make "stats.h" self-contained
The inline helpers in fs/nfsd/stats.h dereference struct nfsd_net and struct svc_export, yet the header includes neither "netns.h" nor "export.h", where those types are defined. Each helper therefore compiles only when its translation unit has already pulled in both headers ahead of "stats.h" -- a hidden ordering requirement that has to be honored at every include site. Include "netns.h" and "export.h" from "stats.h" directly so the header stands on its own, and no consumer has to order its includes to satisfy it. Link: https://patch.msgid.link/20260712204554.125308-2-cel@kernel.org Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Chuck Lever <cel@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions