aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/util/annotate-data.c
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2025-02-21 22:10:09 -0800
committerNamhyung Kim <namhyung@kernel.org>2025-02-24 15:46:33 -0800
commitd6cd7c9f0239b28652a7ca1870707f5ca6c49c9f (patch)
tree1550ec1a38f781e0f445a4a00cf2b34c6c299a38 /tools/perf/util/annotate-data.c
parentperf pmu: Switch to io_dir__readdir (diff)
downloadwireguard-linux-d6cd7c9f0239b28652a7ca1870707f5ca6c49c9f.tar.xz
wireguard-linux-d6cd7c9f0239b28652a7ca1870707f5ca6c49c9f.zip
perf header: Switch mem topology to io_dir__readdir
Switch memory_node__read and build_mem_topology from opendir/readdir to io_dir__readdir, with smaller stack allocations. Reduces peak memory consumption of perf record by 10kb. Signed-off-by: Ian Rogers <irogers@google.com> Link: https://lore.kernel.org/r/20250222061015.303622-5-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