- Install debuginfo package (in addition to main RPM/deb)
- Install linux perf tools:
- RHEL / CentOS / Amazon Linux:
yum install perf
. - Note: CentOS7 has a pretty old version of perf; which includes some issues decoding backtraces via DWARF. Prefer a newer version if possible. I have a local build of 5.11 for CentOS7 at
~/Documents/linux-perf-5.11-with-separate_debuginfo_unwind_fix
- RHEL / CentOS / Amazon Linux:
- Start workload to be measured
- Record profile
- x86-64: