Skip to content
This repository has been archived by the owner on Aug 19, 2021. It is now read-only.

Latest commit

 

History

History
22 lines (16 loc) · 374 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 374 Bytes

Environment

  • Ubuntu 20.10
  • Linux 5.4 (BTF support)
  • Rust
  • cargo-libbpf

Running on Ubuntu 20.10

git clone [email protected]:sai-lab/syscall-latency-exporter.git
cd syscall-latency-exporter
cargo libbpf make
./target/debug/syscall-latency-exporter

Generate vmlinux.h

bpftool btf dump file /sys/kernel/btf/vmlinux format c > src/bpf/vmlinux.h