Lightning Talk: BTFGen: one Step Closer to Truly Portable eBPF Programs
Lightningat Cloud Native eBPF Day Europe 2022 · on Monday, 2022-05-16· at 15:35· Pavilion 4 | Room A | Level 2 | Central Forum·
summary
BTFGen generates minimal BTF blobs by extracting only the kernel types an eBPF program actually uses, implemented as a bpftool feature and tested with Inspektor Gadget and Tracee. Full BTF files are ~5 MB each, but a prebuilt set for 1000 kernels compresses to about ~100 KB per app, so applications can ship per-kernel BTFs instead of downloading from BTFHub at runtime. Works by feeding the chosen small BTF to the loader for CO‑RE relocation.
AI-written summary · about
related talks
47mBPF: The Status of BTF, producers, consumers.
37mThe BTF file format, more than just debugging
34mEvolving the BPF Type Format
45mSupporting BPF in the GNU Toolchain
34mBeyond the Hype: Cloud Native eBPF
21mPortable BPF with CO:RE
42mA Deep Dive Into eBPF Program Loader
23mAlways present type information thanks to BPF: BTF
