[BOLT] Miss call stack after BOLT in flamegraph
- Dominant language
- LLVM
- Stars
- 40.5k
- Forks
- 18.7k
- PR merge metrics
- PR metrics pending
Description
```
Linux kernel version: 5.15.131
perf version: 5.15.67
bolt cmd: llvm-bolt daos_enigne -o "${optimized_binary}" --data="${profile_data}" --reorder-blocks=ext-tsp --reorder-functions=hfsort --split-functions --split-all-cold --split-eh --dyno-stats --use-gnu-stack --update-debug-sections
perf cmd: /usr/bin/perf record -F 999 -a -g --call-graph dwarf -p `pidof daos_engine -s` -- sleep 5 && /usr/bin/perf script -i perf.data | stackcollapse-perf.pl | flamegraph.pl > test.svg
```
| without BOLT | with BOLT
| --- | ---
| |
I find out that only symbols in shared libraries or kernel showed in flamegraph, others in bin file which with BOLT was missed.
'gdb' and 'perf top -p pid' can seem symbols in bin file.
Contributor guide
Assessment
This issue has not been assessed yet.