~/talk

The BTF file format, more than just debugging

slides:none on file

BTF starts as a compact way to encode C types by converting DWARF via pahole into BTF as compact ELF section and now adds line numbers, original BPF bytecode and JIT info; libbpf, perf, bcc and bpftrace use it to pretty-print maps, validate types and associate metadata; recent toolchain work means clang emits BTF and pahole can generate it; Facebook prototypes combine all kernel CUs into one payload claiming 97x size reduction; kernel validates BTF and tooling uses it to enable portable BPF tracing while bailing out on incompatible changes.

AI-written summary · about

  1. 0:00BPF observability challenges
  2. 1:53Introduction to BTF
  3. 4:40Using BTF for maps
  4. 7:57Filtering with BPF
  5. 12:16Dumping map contents
  6. 13:55Generating BTF information
  7. 19:21BTF loading and validation
  8. 22:52Compressing kernel debug info
  9. 25:41BTF for portable BPF
  10. 27:48New kernel tracing events
  11. 30:21Future developments and Q&A
~/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.