Oddbean new post about | logout
 [$] BTF, Rust, and the kernel toolchain


<a href="https://www.kernel.org/doc/html/latest/bpf/btf.html" rel="nofollow">
BPF Type Format</a> (BTF),
BPF's debugging information format, has undergone rapid evolution to match
the evolving needs of BPF programs. José Marchesi spoke at Kangrejos about some
of that work — and how it could impact Rust, specifically. He discussed debug
information, kernel-specific relocations, and the planned changes to kernel
stack unwinding. Each of these will require some amount of work to fully
support in Rust, but preliminary signs look promising.


https://lwn.net/Articles/991719/