~/talk

More CO-RE? Taming the effects of compiler optimizations on BPF tracing

links:none on file
slides:none on file

CO-RE helps BPF programs run across kernels but compiler optimizations hide about 7,000 of ~56,000 kernel symbols from BTF, breaking fentry/fexit tracing for ~800 SRA-suffixed functions and many others. The talk shows a proof‑of‑concept that parses late DWARF location info to detect optimized-away arguments, and proposes using BTF decoration tags plus relocations or multiple BTF entries so tracing tools can either skip, attach to optimized suffixes, or recover accurate argument locations.

AI-written summary · about

  1. 0:00Introduction to BPF tracing
  2. 1:02Motivation for accurate tracing
  3. 2:07Survey of missing kernel functions
  4. 3:31Static and cold functions
  5. 5:15Partially inlined functions
  6. 6:19Optimized function signatures
  7. 8:46Constant propagation issues
  8. 10:50Hard cases and solutions
  9. 12:15CO-RE philosophy for functions
  10. 13:38Tagging and annotations proposal
  11. 15:23Proof of concept demonstration
  12. 18:12Key principles for BTF
  13. 19:37Case study: copy_query_item
  14. 20:38Why this matters
  15. 21:20Summary and next steps
  16. 28:04Q&A discussion
~/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.