~/talk

State of kprobes/trampolines batch attachment

slides:none on file

Kernel adds a fast batch attach path for kprobes using ftrace: a new kpro_multi link and register_fprobe wrapper let one syscall attach a BPF program to many symbols, with self-tests showing ~50,000 functions attached in under a second. Users include bpftrace and Tetragon (Redstone patches queued). Work on BPF jump trampolines yields generic trampolines that expose IP, args and per-site cookies, but multi-attach mixing raises splitting, locking and complexity issues and remains unresolved.

AI-written summary · about

  1. 0:00Introduction
  2. 0:23Batch attachment goals
  3. 2:10kprobes batch attachment
  4. 7:31kprobes multi-link API
  5. 11:48Current users and usage
  6. 12:09Jump line batch attachment status
  7. 16:28Multi-trampoline attachment
  8. 23:22Trampoline mixing complexity
  9. 30:18Ftrace limitations and concerns
  10. 36:39Q&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.