5 ms·
> The real solution to things like this is to improve the debugging information so that return addresses can be tracked more accurately, but no one seems willin
by nemetroid 4y ago
> The real solution to things like this is to improve the debugging information so that return addresses can be tracked more accurately, but no one seems willing to do that work. It reminds me of encountering "value optimised out" when I can clearly see where the value is if I inspect the Asm.
As someone who’s excited about Fedora’s change, I agree. But while waiting for that to happen, I want to have a good debug/tracing experience, which currently only frame pointers can provide.
- quotemstr 4y ago> while waiting for that to happen, I want to have a good debug/tracing experience, which currently only frame pointers can provide What's the rush? We've lived without adequate unwinding this long. We can afford to take a little bit more time and do it right.
- rwmj 4y agoWe really cannot. We were losing larger optimisations all the time by not having frame pointers.
- mort96 4y agoWhat optimizations are impossible without a frame pointer?
- rwmj 4y agoAny that involve looking at the whole system with perf, especially where you don't want to or cannot ask the user to recompile the entire Linux distro before collecting the data. So pretty much anything that isn't a microbenchmark.