diff options
author | Ian Rogers <irogers@google.com> | 2025-02-22 09:10:09 +0300 |
---|---|---|
committer | Namhyung Kim <namhyung@kernel.org> | 2025-02-25 02:46:33 +0300 |
commit | d6cd7c9f0239b28652a7ca1870707f5ca6c49c9f (patch) | |
tree | 1550ec1a38f781e0f445a4a00cf2b34c6c299a38 /tools/perf/python/tracepoint.py | |
parent | 6a81a3fd9e914581bb7fea383cad11445699762d (diff) | |
download | linux-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