diff options
author | Ian Rogers <irogers@google.com> | 2025-02-22 09:10:11 +0300 |
---|---|---|
committer | Namhyung Kim <namhyung@kernel.org> | 2025-02-25 02:46:33 +0300 |
commit | bb327140f581887e03cdb1258bc4229fd2d7d9b9 (patch) | |
tree | 69d560d94af20b2f32bfe0605b2e0f9d1dce653d /tools/perf/python/tracepoint.py | |
parent | 56406bd557fb928757cad53aea27e38c06e3f72b (diff) | |
download | linux-bb327140f581887e03cdb1258bc4229fd2d7d9b9.tar.xz |
perf parse-events: Switch tracepoints 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.
Signed-off-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20250222061015.303622-7-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