DevConf.CZ 2019 has ended

View analytic
Saturday, January 26 • 4:30pm - 5:20pm
The BTF file format, more than just debugging

Sign up or log in to save this to your schedule and see who's attending!

Feedback form is now closed.
BTF (BPF Type Format) started as a compact way to encode types, using the pahole tool to transform DWARF tags for types into a new ELF section, inspired by dtrace's CTF.

It is under intense development, with work underway to add more information to allow for better observation, such as line numbers, and also to make clang to emit BTF in BPF object files.

The intention is to have the kernel data structure information in a compact form always available, like the CFI information is these days in user space binaries.

Encoding both kernel and BPF data structures should allow for compile once, run anywhere BPF tracing programs, for instance.

This talk will describe its origins, current use in tools such as bcc, bpftrace and 'perf trace' and will show what has been brewing up to devconf'19.

avatar for Arnaldo Melo

Arnaldo Melo

Principal Software Engineer, Red Hat Inc.
Maintained IPX, LLC, Appletalk protocols. Refactored the TCP/IP stack to reuse non TCP specific parts. Implemented the Linux DCCP stack. Created pahole, a tool to help in optimizing data structures, used in Linux, glibc, KDE, xine & others. Maintainer of ‘perf’ (profiling, tracing... Read More →

Saturday January 26, 2019 4:30pm - 5:20pm

Attendees (39)