6 ms·
There is an option far better than either suggested. In my experience using the --callgraph=lbr option produces far more reliable callstacks than relying on fra
by fooblaster 4y ago
There is an option far better than either suggested. In my experience using the --callgraph=lbr option produces far more reliable callstacks than relying on frame pointers. Sadly it's only available on Intel cpus at the moment.
- irogers 4y agoAMD will have support in Zen4 and Linux 6.1 (which is LTS): https://lore.kernel.org/lkml/Yz%2FcpNTSacRMh1FK@gmail.com/ https://lore.kernel.org/lkml/Yz%2FcpNTSacRMh1FK@gmail.com/ Further, precise events are fixed in Linux 6.2: https://lore.kernel.org/lkml/Y5eQeR2tpZ%2FBos49@gmail.com/ https://lore.kernel.org/lkml/Y5eQeR2tpZ%2FBos49@gmail.com/
- fooblaster 4y agoWhat does precise events in perf help with?