~/talk

Fast (Trapless) Kernel Probes Everywhere

Talkat USENIX ATC 2024 · 2024-07-10..07-12· [observability]
links:none on file
links:none on file
links:none on file
github:dcbw
links:none on file
slides:none on file

Replaces trap-based Kprobes with direct control-flow rewrites and selective padding to avoid double-trap overhead: a compiler LLVM machine IR pass inserts selective nop insertion only where needed, then rewrites instructions to calls/jumps into a single global 96-byte trampoline that saves registers. Implementation on Linux Kprobes increases trapless coverage from ~79% to 96%, speeds a single probe ~10x, cuts KCFI overhead on benchmarks by ~1.4x on average and up to 3x.

AI-written summary · about

  1. 0:00Fast trapless kernel probes intro
  2. 1:05Traditional kernel probes with traps
  3. 2:10Trap-based kernel probe limits
  4. 3:15Trap-free probes with direct jumps
  5. 4:37Key insight: fewer noops
  6. 5:41Direct jump rewriting challenges
  7. 7:25LLVM passes for selective noops
  8. 9:13Optimizing kernel instructions
  9. 9:55Uno K Probe scalability
  10. 10:57Performance evaluation results
  11. 11:42KFI performance gains
  12. 12:46Conclusion and future work
~/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.