4 ms·
What perf record settings do you use? Trying to use dwarf has never worked well fore with rust, so I've been using lbr, but even then it seems like it gets whi
by galangalalgol 4y ago
What perf record settings do you use? Trying to use dwarf has never worked well fore with rust, so I've been using lbr, but even then it seems like it gets which instructions are part of which function wrong a significant portion of the time.
- mullr 4y agoI've had no problems with dwarf.
- galangalalgol 4y agoWith optimizations and debug symbols turned on and the arch specified perf report very often puts some pieces of functions in the calling function for me when I use dwarf. Do you do anything specific in the build?
- namibj 4y agoYou need to activate the (somewhat slow?) inline-stack-aware addr2line integration/usage for optimized builds. It doesn't place them there, they exist there (due to inlining).