~/talk

Supporting BPF in the GNU Toolchain

links:none on file
slides:none on file

GNU toolchain now produces usable BPF object files: upstreamed support in GCC, binutils (assembler/disassembler/linker), GDB and a GNU simulator; Debian and Oracle packages exist and the triplet is bpf-unknown-none. Port handles big‑ and little‑endian instruction layouts, ten 64‑bit regs plus a read‑only frame pointer, 128‑bit lddw immediates, and verifier constraints (512‑byte stack limit, max five stack args). Simulator currently implements single‑step and a printk helper; BTF and CO‑RE support are work in progress.

AI-written summary · about

  1. 0:00Start
  2. 0:05Emperor Penguin Sponsors
  3. 1:34Contents
  4. 6:44Hand-written BPF
  5. 9:11Compiled BPF
  6. 11:02eBPF ISA - Overview
  7. 13:24eBPF - Registers
  8. 13:43eBPF - Instruction Formats
  9. 14:58eBPF - Instructions
  10. 23:08The Port - Overview
  11. 24:25The port - GNU triplet
  12. 25:02The port - ELF support
  13. 25:56The port - assembler/disassembler
  14. 26:50the port - linker
  15. 28:00the port - binary utilities
  16. 28:12the port - GDB and simulator
  17. 30:25the port - GCC
  18. 31:38Compiling BPF - Endianness
  19. 33:56Compiling BPF - Automatic stack allocation
  20. 36:21Compiling BPF - Disjoint stacks
  21. 37:14Compiling BPF - Stack size limit
  22. 37:30Compiling BPF - Signed division
  23. 38:05Compiling BPF - No zero register
  24. 40:08BPF Compile-Once, Run-Everywhere
  25. 41:04BPF GNU toolchain use case: DTrace
  26. 41:51Current 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.