News for hackers. Stuff that matters.
Re:Ubuntu 24.04 LTS will enable frame pointers by default by brancz on Wednesday December 13, 2023 @03:06PM (#38633457)
Profiling tools have already solved the ability to reliably unwind in the absence of frame pointers[1], but there are plenty of tools that this kind of investment is simply too much that it won't ever happen, like bpftrace or bcc-tools.

[1] https://www.polarsignals.com/blog/posts/2022/11/29/dwarf-bas...

Re:Ubuntu 24.04 LTS will enable frame pointers by default by account42 on Thursday December 14, 2023 @07:00AM (#38640440)
Do those tools really need to implement their own unwinding though? This really should just need to be implemented once in a library and then used wherever unwinding is needed.
Re:Ubuntu 24.04 LTS will enable frame pointers by default by brancz on Thursday December 14, 2023 @09:59AM (#38642041)
With the combination of eBPF and DWARF-based it's not quite that simple, there's a pretty elaborate dance between user-space and kernel-space that needs to happen for this to work. With frame-pointers it's walking a linked list in kernel-space.