Skip to content

Tracepoints: stable kernel ABI

Step 3 of 8Solution
STABILITY
high ABI
OVERHEAD
very low
RAW TP
zero arg prep
EXAMPLES
softirq, skb
  • kernel event trigger
  • telemetry / policy ok
  • LSM deny / PMU sample
Tracing & LSM Hooks, step 3 of 8

Tracepoints are static hooks intentionally placed by kernel maintainers—like irq/softirq_entry, skb/kfree_skb, kmem/mm_page_alloc, and syscalls/sys_enter_bpf.

When disabled they compile to a single NOP instruction. raw_tracepoint skips argument formatting completely, cutting overhead even further while keeping BTF-typed context.

What changed

  • Fragile internal function name → stable maintainer hook
  • Disabled hook cost → single CPU NOP instruction
  • Typed BTF context → clean CO-RE field checks

Type to search…

↑↓ navigate↵ selectEsc close