aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/vmalloc.c
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2025-07-31 07:03:30 +0000
committerNamhyung Kim <[email protected]>2025-07-31 17:46:46 +0000
commit6235ce77749f45cac27f630337e2fdf04e8a6c73 (patch)
treefca6c4c0d8e2a56b7fa7b9f1f53dd94560aa434a /rust/helpers/vmalloc.c
parentperf test: Ensure lock contention using pipe mode (diff)
downloadkernel-6235ce77749f45cac27f630337e2fdf04e8a6c73.tar.gz
kernel-6235ce77749f45cac27f630337e2fdf04e8a6c73.zip
perf record: Cache build-ID of hit DSOs only
It post-processes samples to find which DSO has samples. Based on that info, it can save used DSOs in the build-ID cache directory. But for some reason, it saves all DSOs without checking the hit mark. Skipping unused DSOs can give some speedup especially with --buildid-mmap being default. On my idle machine, `time perf record -a sleep 1` goes down from 3 sec to 1.5 sec with this change. Fixes: e29386c8f7d71fa5 ("perf record: Add --buildid-mmap option to enable PERF_RECORD_MMAP2's build id") Reviewed-by: Arnaldo Carvalho de Melo <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'rust/helpers/vmalloc.c')
0 files changed, 0 insertions, 0 deletions