Something went wrong. Try again.
A collection of vmlinux.h for different kernel versions
Something went wrong. Try again.
Files
README.md
A collection of vmlinux.h #
When developing eBPF programs it's necessary to access several kernel definitions. These
are all contained on vmlinux.h, which can be generated off of a running kernel's BTF-encoded
information with
$ bpftool btf dump file /sys/kernel/btf/vmlinux format c > vmlinux.h
Be sure to check bpftool-btf(8) for more details. Storing this file out-of-tree reduces the
source repo's size whilst at the same time not skewing the relative size of each language in
the codebase. This is what libbpf/vmlinux.h does as well.