Ubuntu 21.10 (5.13.0-52-generic)
apt install build-essential libelf-dev
apt install clang
apt install llvm
To build simply run make and run the resulting libbpfgo-prog binary.
# ./libbpfgo-prog
4026532391 3771110 chmod /root/a.txt 0777
4026531836 3771404 python3 /var/log/ubuntu-advantage.log 0600