From: Arnaldo Carvalho de Melo <redacted>
A 'perf report -s type' on a 783 MB AMD IBS data type profiling session
hangs, burning all of a CPU and producing no output:
⬢ [acme@toolbx perf-tools-next]$ perf report --progress -s type -i perf.data.ibs > /dev/null
Processing events... [100.0%] 746M / 746M
Merging related events... [ 58.0%] 293828 / 506686
Merging related events... [ 59.0%] 298894 / 506686
Merging related events... [ 60.0%] 303960 / 506686
Merging related events... [ 61.0%] 309026 / 506686
[ ... nothing else, ever ... ]
It is a spin and not a slow path: with perf-stuck the CPU time used
grows by a whole interval on every sample, while the [stack] mapping,
[ ... ]
Fixes: 06b2ce75386df04b ("perf annotate-data: Maintain variable type info")
Fixes: 55ee3d005d62279d ("perf annotate-data: Add a cache for global variable types")
Assisted-by: LLM
Signed-off-by: Arnaldo Carvalho de Melo <redacted>
Sashiko has reviewed this patch and found no issues. It looks great!
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260913023459.112654-1-acme@kernel.org?part=7