- Ubuntu 20.10
- Linux 5.4 (BTF support)
- Rust
- cargo-libbpf
git clone [email protected]:sai-lab/syscall-latency-exporter.git
cd syscall-latency-exporter
cargo libbpf make
./target/debug/syscall-latency-exporter
bpftool btf dump file /sys/kernel/btf/vmlinux format c > src/bpf/vmlinux.h