~/talk

Advanced BPF profiling techniques: how to escape the curse of NMI and fetch ELF...

Talkat Linux Plumbers Conference 2025 · 2025-12-11..12-13· [observability]
links:none on file
slides:none on file

Shows how a profiler moves from sampling to reliable user-memory reads by combining perf-event sampling + ring buffer postprocessing with new kernel-side helpers: BPF task_work resume/signal APIs let code scheduled from NMI run in a sleepable context so page faults are allowed; bpf_ptr_from_file + bpf_ptr_read expose ELF contents and build IDs on demand; a task VM iterator finds executable VMAs and thread-local variable symbols at runtime. Prototype runs at Meta and proves deterministic stack and TLS reads without expensive upfront ELF preprocessing.

AI-written summary · about

  1. 0:00Introduction to BPF profiling
  2. 7:50Extending profiling context
  3. 14:39Escaping NMI restrictions
  4. 25:32ELF parsing in BPF
  5. 34:43Summary and future work
  6. 36:30Q&A
~/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.