summaryrefslogtreecommitdiff
path: root/tools/perf/python/tracepoint.py
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2025-02-22 09:10:12 +0300
committerNamhyung Kim <namhyung@kernel.org>2025-02-25 02:46:33 +0300
commitd996c726a5a4c794ed1d1e54702179d319d1c7e8 (patch)
tree0218055a1a3a3f4df1a9bd7875d71952746121c0 /tools/perf/python/tracepoint.py
parentbb327140f581887e03cdb1258bc4229fd2d7d9b9 (diff)
downloadlinux-d996c726a5a4c794ed1d1e54702179d319d1c7e8.tar.xz
perf hwmon_pmu: Switch event discovery 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-8-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