diff options
author | 2025-02-21 22:10:07 -0800 | |
---|---|---|
committer | 2025-02-24 15:46:33 -0800 | |
commit | f7cada5f7e7f51fa88428f267ef7216b769fd262 (patch) | |
tree | 9422c555d09c8eed96cbe12ffcf3e2f8cefccf4f /tools/perf/util/annotate-data.c | |
parent | tools lib api: Add io_dir an allocation free readdir alternative (diff) | |
download | wireguard-linux-f7cada5f7e7f51fa88428f267ef7216b769fd262.tar.xz wireguard-linux-f7cada5f7e7f51fa88428f267ef7216b769fd262.zip |
perf maps: Switch modules tree walk to io_dir__readdir
Compared to glibc's opendir/readdir this lowers the max RSS of perf
record by 1.8MB on a Debian machine.
Acked-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20250222061015.303622-3-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