~/talk

Where have all the kprobes gone

Talkat Linux Plumbers Conference 2023 · 2023-11-13..11-15· [security]
slides:none on file

Many BPF-attached tracing probes silently drop execution because different attach layers enforce different re-entry checks and some layers never exported miss stats. Legacy perf + SET_BPF ioctl had limits, but miss counts on perf links are now retrievable via the BPF tool link after adding counters to link objects. kprobes block nested kprobes at the CPU level, kprobe_multi and uprobes use different checks, and a surprising hard limit of 64-depth uprobe return limit can overflow. The key distinction is per-cpu vs per-program re-entry checks.

AI-written summary · about

  1. 0:00Introduction
  2. 1:25Kprobe nesting issue
  3. 4:19Kprobe attach layers
  4. 9:42BPF program execution checks
  5. 15:46Probe attach layer overview
  6. 19:17Mist counter improvements
  7. 23:30Ftrace recursion lock discussion
  8. 27:19Q&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.