~/talk

Implementing sframes

links:none on file
links:none on file
slides:none on file

sframes are implemented in binutils to let the kernel unwind user stacks without frame pointers by reading an ELF sframe section for static binaries, but user-space reads can fault so unwinding cannot run in NMI/interrupt context and instead uses irq_work defer to schedule a safe ptrace-path copy. Perf and ftrace need changes to avoid repeatedly copying identical user stacks. Dynamically linked objects and JIT code require a registration mechanism (system call or user-space table) so generated code can provide sframe metadata at load time.

AI-written summary · about

  1. 0:00Stack tracing challenges
  2. 1:41The ORC unwinder
  3. 4:45Introduction of S frames
  4. 7:13Implementing S frames
  5. 10:55Performance and mapping
  6. 12:59JIT and future directions
~/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.