summaryrefslogtreecommitdiff
path: root/tools/debugging
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2026-05-10 13:23:45 -0700
committerNamhyung Kim <namhyung@kernel.org>2026-05-14 14:48:32 -0700
commit552636b9317c8a843dd4496d77e56976ab48c76b (patch)
treed0a5fb4d516b8f65af49dd83fea17623aab636d2 /tools/debugging
parentbe81aed3f7492caa522493f7c67b9c4d3c8924a6 (diff)
perf trace: Add beautifier script for fsmount flags
And move the existing one to fsmount_attr.sh to be more precise. Now the fsmount_flags[] is generated from the mount.h like below. The ilog2() + 1 is an existing pattern to handle bit flags. $ cat tools/perf/trace/beauty/generated/fsmount_arrays.c static const char *fsmount_flags[] = { [ilog2(0x00000001) + 1] = "CLOEXEC", [ilog2(0x00000002) + 1] = "NAMESPACE", }; It was found by Sashiko during the review. Reviewed-by: Ian Rogers <irogers@google.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/debugging')
0 files changed, 0 insertions, 0 deletions