aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate-data.c
diff options
context:
space:
mode:
authorIan Rogers <[email protected]>2025-02-22 06:10:12 +0000
committerNamhyung Kim <[email protected]>2025-02-24 23:46:33 +0000
commitd996c726a5a4c794ed1d1e54702179d319d1c7e8 (patch)
tree0218055a1a3a3f4df1a9bd7875d71952746121c0 /tools/perf/util/annotate-data.c
parentperf parse-events: Switch tracepoints to io_dir__readdir (diff)
downloadkernel-d996c726a5a4c794ed1d1e54702179d319d1c7e8.tar.gz
kernel-d996c726a5a4c794ed1d1e54702179d319d1c7e8.zip
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate-data.c')
0 files changed, 0 insertions, 0 deletions