generate and ship vmlinux.h to allow packages to build BPF CO-RE
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
New
|
Undecided
|
Kleber Sacilotto de Souza |
Bug Description
A vmlinux.h header generated from a kernel build with bpftool is needed to build and ship BPF CO-RE programs. We are looking to ship these in the next version of systemd.
vmlinux.h being generated depends on the kernel version, architecture and kconfig. There are some vague promises of backward compatibility, but it is hard to gauge.
We definitely do not want this file to be generated from the kernel running the build machine when building a package though, as very often these are very old and stable kernels building packages for the bleeding edge.
In Fedora and now Debian we generate vmlinux.h at kernel package build time, and ship it with the other kernel headers (_not_ UAPI, the internal headers): https:/
Please consider doing the same in Ubuntu's linux-headers.
Changed in linux (Ubuntu): | |
assignee: | nobody → Kleber Sacilotto de Souza (kleber-souza) |