aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate-data.c
diff options
context:
space:
mode:
authorIan Rogers <[email protected]>2025-02-22 06:10:13 +0000
committerNamhyung Kim <[email protected]>2025-02-24 23:46:33 +0000
commite7af1946818b302d1f8b83b6896e04e0fe8bc2eb (patch)
tree7a625235e9b7c250f3fb026aa7dd2a3cadfa1c50 /tools/perf/util/annotate-data.c
parentperf hwmon_pmu: Switch event discovery to io_dir__readdir (diff)
downloadkernel-e7af1946818b302d1f8b83b6896e04e0fe8bc2eb.tar.gz
kernel-e7af1946818b302d1f8b83b6896e04e0fe8bc2eb.zip
perf machine: Reuse module path buffer
Rather than copying the path and appending the directory entry in a fresh path buffer, append to the path at the end of where it is for the recursion level. This saves a PATH_MAX buffer per recursion level and some unnecessary copying. 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