News for hackers. Stuff that matters.
Re:Ubuntu 24.04 LTS will enable frame pointers by default by brancz on Wednesday December 13, 2023 @01:53PM (#38632329)
We wrote pretty extensively about what was needed to be able to profile things without frame pointers [1]. It's still possible at less than 1% overhead with the right set of technologies, but frame pointers unwinding is virtually free.

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

Re:Ubuntu 24.04 LTS will enable frame pointers by default by mratsim on Wednesday December 13, 2023 @04:51PM (#38634666)
Intel VTune, Apple Instruments and perf have been able to profile without frame pointers.
Re:Ubuntu 24.04 LTS will enable frame pointers by default by brancz on Wednesday December 13, 2023 @04:58PM (#38634761)
A lot of profilers have, it’s literally what unwind information is for, but we did it in kernel therefore not the entire stack needs to be copied to user space so it’s way less overhead.