Skip to content

Kprobes: attach almost anywhere

Step 2 of 8Concept
REACH
any symbol
ABI STABILITY
none
INLINED FN
invisible
MECHANISM
ftrace / trap
  • kernel event trigger
  • telemetry / policy ok
  • LSM deny / PMU sample
Tracing & LSM Hooks, step 2 of 8

Kprobes (and kretprobes on exit) attach dynamically to almost any exported kernel function by name—thousands of internal entry points with zero prior kernel instrumentation.

The catch: internal kernel function names, arguments, and compiler inlining change without notice. A kprobe working on Linux 6.6 can vanish on 6.8.

Type to search…

↑↓ navigate↵ selectEsc close