diff options
author | Ian Rogers <irogers@google.com> | 2025-02-22 09:10:08 +0300 |
---|---|---|
committer | Namhyung Kim <namhyung@kernel.org> | 2025-02-25 02:46:33 +0300 |
commit | 6a81a3fd9e914581bb7fea383cad11445699762d (patch) | |
tree | ef25b95600e4cc04c9b15c26a1f329d90fc43a36 /tools/perf/python/tracepoint.py | |
parent | f7cada5f7e7f51fa88428f267ef7216b769fd262 (diff) | |
download | linux-6a81a3fd9e914581bb7fea383cad11445699762d.tar.xz |
perf pmu: Switch to io_dir__readdir
Avoid DIR allocations when scanning sysfs by using io_dir for the
readdir implementation, that allocates about 1kb on the stack.
Acked-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20250222061015.303622-4-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