mirror of
https://github.com/xdp-project/bpf-examples.git
synced 2024-05-06 15:54:53 +00:00
The distro kernel UAPI headers evolve too slow. Thus, maintain a mirror in headers/linux/ in this proj. Libbpf been overly-eager to get features into their releases and depend on kernel commit 6089fb325cf7 ("bpf: Add btf enum64 support"), which have not been released in an official kernel release yet. Thus, this headers/linux/btf.h update comes from bpf-next git. Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
NOTICE
This directory contains include header files copied from the Linux kernel tree. Some of them have been modified to ease compiling BPF programs.
Linux distributions usually have a 'kernel-headers' software package that also contain these files. As BPF is in rapid development the distro version of these header files might not be new enough to contain the features needed by this git repo.
Thus, we maintain a copy of these header files to match the features used by our software.