13–15 Nov 2023
America/New_York timezone

Evolving the BPF Type Format

13 Nov 2023, 09:30
30m
"James River Salon C" (Omni Richmond Hotel)

"James River Salon C"

Omni Richmond Hotel

225
eBPF & Networking Track eBPF & Networking

Speaker

Alan Maguire (Oracle)

Description

This talk focuses on a number of issues and suggested solutions around the BPF Type Format (BTF). BTF has becoming more and more central not just for core BPF features, but also in other subsystems such as ftrace. The goal explored here is to facilitate - as much as is possible - various feature requests that have been expressed around BTF support that will benefit BTF adoption.

These include

  • supporting separating kernel BTF into a dedicated vmlinux BTF module so that small embedded systems can take advantage of BTF
  • supporting explicit matching between kernel and module BTF to identify mismatches; currently mismatches have to be detected implicitly
  • supporting standalone BTF to allow modules to include BTF that does not have to change every time the core kernel does
  • auto-detecting which BTF features are available in a kernel so that we do not encode BTF features in kernel BTF that are not available in the kernel itself; this would be useful for a newer pahole when run on an older kernel

Primary author

Presentation materials

Diamond Sponsors
Platinum Sponsor
Gold Sponsors
Silver Sponsors
Catchbox Sponsor
Livestream Sponsors
T-Shirt Sponsor
Conference Services Provided by