]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf maps: Switch modules tree walk to io_dir__readdir
authorIan Rogers <irogers@google.com>
Sat, 22 Feb 2025 06:10:07 +0000 (22:10 -0800)
committerNamhyung Kim <namhyung@kernel.org>
Mon, 24 Feb 2025 23:46:33 +0000 (15:46 -0800)
commitf7cada5f7e7f51fa88428f267ef7216b769fd262
tree9422c555d09c8eed96cbe12ffcf3e2f8cefccf4f
parentd118b08f7eee6d6f44b4c549cf22d6b078e2ed73
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>
tools/perf/util/machine.c