libbpf

C library and tooling for eBPF (extended Berkeley Packet Filter)

brewmacoslinux
Try with needOr install directly
Source

About

Berkeley Packet Filter library

Commands

bpftool

Examples

List all loaded eBPF programs on the system$ bpftool prog list
Show detailed information about a specific eBPF program$ bpftool prog show id 1
Dump eBPF program statistics and performance metrics$ bpftool prog stat