A simplified eBPF project template based on libbpf-bootstrap, designed for larger projects.
- Git
- bpftool
- clang
- gcc
- Clone
git clone [email protected]:varun-r-mallya/ebpf-c-template.git --recurse-submodules
- Generate vmlinux:
cd tools
./gen_vmlinux.sh
- Compile the project:
make
- Run the program:
sudo ./build/bootstrap