summaryrefslogtreecommitdiff
path: root/tools/perf/python/tracepoint.py
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2025-02-22 09:10:09 +0300
committerNamhyung Kim <namhyung@kernel.org>2025-02-25 02:46:33 +0300
commitd6cd7c9f0239b28652a7ca1870707f5ca6c49c9f (patch)
tree1550ec1a38f781e0f445a4a00cf2b34c6c299a38 /tools/perf/python/tracepoint.py
parent6a81a3fd9e914581bb7fea383cad11445699762d (diff)
downloadlinux-d6cd7c9f0239b28652a7ca1870707f5ca6c49c9f.tar.xz
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/python/tracepoint.py')
0 files changed, 0 insertions, 0 deletions