sudo su
yum update
yum install clang go make libbpf-devel bpftool llvm
Terminal 1:
go run -exec sudo main.go bpf_bpfel.go
Terminal 2:
sudo cat /sys/kernel/debug/tracing/trace_pipe
sudo su
yum update
yum install clang go make libbpf-devel bpftool llvm
Terminal 1:
go run -exec sudo main.go bpf_bpfel.go
Terminal 2:
sudo cat /sys/kernel/debug/tracing/trace_pipe