New blog post: The Return of the Frame Pointers (Fedora, Ubuntu) https://www.brendangregg.com/blog/2024-03-17/the-return-of-the-frame-pointers.html
The Return of the Frame Pointers

The Return of the Frame Pointers

@brendangregg we've spent considerable resources in terms of engineering at Mozilla to deal with the issue of stack traces, both for stability (crash reporting & diagnostics) and performance (profiling). Frame pointers are hugely helpful when present, but we also have to live without them since extensive inlining in C++/Rust code means they're just not enough.

@brendangregg you might want to check the framehop and wholesym Rust crates developed by my colleague @mstange

They've been written to provide very high quality stack traces while also offering very high performance, so that they can be used during online profiling:

https://crates.io/crates/framehop
https://crates.io/crates/wholesym

crates.io: Rust Package Registry

@gabrielesvelto @brendangregg Framepointers and inlining are two totally orthogonal issues though. Framepointers give you reliable and simple unwinding, and having them is super valuable regardless of whether you resolve inlining during symbolication.