This project is mainly the code of the 《eBPF 核心技术与实战》 course, which can be compiled through the make run environment, and some can be run directly.
Some of these directory descriptions
- bpf: from
/usr/include/bpfor/usr/src/${uname -r}/tools/lib/bpforhttps://github.com/libbpf/libbpf/tree/master/src - vmlinux.h: from
bpftool btf dump file /sys/kernel/btf/vmlinux format c > vmlinux.h