参考书籍
开发环境
Ubuntu 18.04.6 LTS (GNU/Linux 5.4.0-150-generic x86_64)
1.1 下载内核源码
cd /usr/src/
sudo git clone -b v5.4 https://github.com/torvalds/linux.git
1.2 下载书中代码
git clone https://github.com/bpftools/linux-observability-with-bpf
1.3 编译hello_world
cd linux-observability-with-bpf/code/chapter-2/hello_world