CLI tool for eBPF application development
If you are new here and setting up the bpf environment for the first time then follow the below steps,
-
Install make
sudo apt install make
-
Install the pre-requisites, clang, llvm, golang and bpftool
sudo make install
-
Reload your shell to identify the go binary in the path
source $HOME/.profile
-
Generate the vmlinux.h for extracting the definition of every type in the current running kernel
make gen_vmlinux