~/talk

SFrame: The Simple Frame Stack Trace Format

Talkat LinuxCon @ OSS NA 2023 · 2023-05-10..05-12· [linux-and-operating-systems]
links:none on file
slides:none on file

A new on-disk unwind format encodes only the minimal fields CFA, FP, RA so a tracer reads .sframe, binary-searches fixed-length FDEs, then decodes variable-length FRE rows to get CFA/RA/FP offsets and iterate return addresses; support lands in Binutils 2.40 with a libsfame API, x86_64 and AArch64 support (PLT entries and pointer‑auth handled), typical .sframe size is ~80% of .eh_frame in tested binaries, and a kernel POC proves the approach viable though some issues remain.

AI-written summary · about

  1. 0:00SFrame introduction
  2. 1:03Stack traces and use cases
  3. 2:48Frame pointer method
  4. 4:34EH frame challenges
  5. 7:03Custom stack formats
  6. 9:11Fast low-overhead tracing
  7. 9:52SFrame format explained
  8. 12:41SFrame section layout
  9. 14:27Function descriptor entries
  10. 15:28Frame row entries
  11. 16:30Why SFrame works
  12. 20:49SFrame with libsframe
  13. 23:17Stack walking with SFrame
  14. 24:19SFrame limitations
  15. 26:44SFrame applications
  16. 27:38Q&A: SFrame today
  17. 28:49Q&A: Multi-threaded tracing
  18. 29:51Q&A: Async stack tracing
  19. 31:43Q&A: Format comparison
  20. 33:39Q&A: Tracing tools
  21. 34:43Q&A: Architecture support
  22. 38:20Q&A: SFrame vs ORC
  23. 40:49Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.