[$] Reliable user-space stack traces with SFrame

Post Syndicated from original https://lwn.net/Articles/932209/

A complete stack trace is needed for a number of debugging and optimization
tasks, but getting such traces reliably can be surprisingly challenging.
At the 2023 Linux Storage, Filesystem,
Memory-Management and BPF Summit
, Steve Rostedt and Indu Bhagat
described a mechanism called SFrame that enables the creation of reliable
user-space stack traces in the kernel without
the memory and run-time overhead of some other solutions.