~/talk

A Deep Dive Into eBPF Program Loader

name:Cong Wang
links:none on file
slides:none on file

Loader walks an ELF-like eBPF binary through four phases: discovery, resolution, kernel interaction, and attachment, using libbpf to parse sections, create maps at load time, and patch placeholders with map file descriptors which the verifier translates to kernel pointers. BTF supplies type metadata for verification and portability, verifier logs are returned via bpf() and now visualizable, and program signing remains unresolved with several community proposals pending.

AI-written summary · about

  1. 0:00eBPF program loading intro
  2. 1:25Core objects in loading
  3. 6:09Source code to kernel objects
  4. 9:22Compilation and binary structure
  5. 11:10libbpf role in loading
  6. 15:09Four steps of translation
  7. 19:36libbpf data structures
  8. 21:23Binary parsing in libbpf
  9. 23:57Resolution and map handling
  10. 26:07Kernel interaction and loading
  11. 28:16Program attachment and execution
  12. 30:04Link management for persistence
  13. 31:06BTF and type safety
  14. 33:16Map relocation process
  15. 38:11Compile once run everywhere
  16. 39:37Symbol resolution and verifier logs
  17. 41:02eBPF program signing state
~/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.