vmlinux.h header for BPF CO-RE development
https://docs.kernel.org/bpf/btf.html
vmlinux.h is a C header generated from the BTF (BPF Type Format) data embedded in the kernel binary. It exposes the complete set of internal kernel type definitions in a single file, enabling BPF programs to reference kernel structures — such as task_struct or sk_buff — without requiring full kernel source headers.
This is the foundation of BPF CO-RE (Compile Once - Run Everywhere): the type layout information in this file allows libbpf to transparently relocate field accesses at load time, making a single compiled BPF object portable across kernel versions. Intended to be used alongside libbpf-devel.
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:shunghsiyu:branches:bpf/kernel-bpf-devel && cd $_ - Create Badge
Refresh
Source Files
| Filename | Size | Changed |
|---|---|---|
| kernel-bpf-devel.changes | 0000000195 195 Bytes | |
| kernel-bpf-devel.spec | 0000003112 3.04 KB |
Comments 0