aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/util/annotate-data.c
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2025-02-21 22:10:08 -0800
committerNamhyung Kim <namhyung@kernel.org>2025-02-24 15:46:33 -0800
commit6a81a3fd9e914581bb7fea383cad11445699762d (patch)
treeef25b95600e4cc04c9b15c26a1f329d90fc43a36 /tools/perf/util/annotate-data.c
parentperf maps: Switch modules tree walk to io_dir__readdir (diff)
downloadwireguard-linux-6a81a3fd9e914581bb7fea383cad11445699762d.tar.xz
wireguard-linux-6a81a3fd9e914581bb7fea383cad11445699762d.zip
perf pmu: Switch to io_dir__readdir
Avoid DIR allocations when scanning sysfs by using io_dir for the readdir implementation, that allocates about 1kb on the stack. Acked-by: Namhyung Kim <namhyung@kernel.org> Signed-off-by: Ian Rogers <irogers@google.com> Link: https://lore.kernel.org/r/20250222061015.303622-4-irogers@google.com Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/util/annotate-data.c')
0 files changed, 0 insertions, 0 deletions