Skip to content

Perf events & hardware PMU

Step 5 of 8Concept
SOURCE
CPU silicon
METRICS
IPC & LLC miss
STACKS
flamegraphs
VM FALLBACK
graceful
  • kernel event trigger
  • telemetry / policy ok
  • LSM deny / PMU sample
Tracing & LSM Hooks, step 5 of 8

perf_event hooks attach to timer ticks or hardware Performance Monitoring Units (PMU): CPU cycles, retired instructions, and L3 cache misses—powering continuous low-overhead flamegraphs.

Reading instructions / cycles (IPC) and LLC cache-miss ratio catches L2/L3 cache pollution caused by heavy eBPF maps—while degrading cleanly on cloud VMs that hide vPMU counters.

Type to search…

↑↓ navigate↵ selectEsc close