Real-time average runtime per call, events/s, and CPU utilization for every loaded eBPF program.
Pre-built x86_64 or aarch64 binary, or your distro's package.
Dynamically links to libz and libelf.
$sudo apt install bpftop
Stats collection is off by default in the kernel. bpftop flips it on while the session is open and flips it off on exit — so you pay the overhead only while you're looking.
Per-program metrics, updated every second, with a detail view for any row you select.
procfs on older kernels.BPF runtime statistics are off by default — always-on counters add per-program overhead. bpftop enables them only while the session is open.
On startup, bpftop issues a BPF_ENABLE_STATS syscall and keeps the returned file descriptor open.
A BPF iterator walks every loaded program, reading run_time_ns and run_cnt.
Deltas between samples give period average runtime, events/s, and estimated CPU %.
Closing the descriptor drops the kernel reference count and stats collection turns back off.
No mouse, no menus. Built for people whose hands never leave the home row.