libbpf
« Back to VersTracker
Description:
Berkeley Packet Filter library
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: bpf ebpf networking observability kernel
Install: brew install libbpf
About:
Libbpf is a userspace library for loading and interacting with BPF (Berkeley Packet Filter) programs and maps. It serves as the modern foundation for high-performance networking and observability tools like BCC and libbpf-tools. Its main value is providing a streamlined, efficient interface to the kernel's BPF virtual machine, enabling powerful system instrumentation.
Key Features:
  • eBPF object file loading and verification
  • Interaction with BPF maps and programs
  • Skeleton generation for type-safe BPF access
  • Low-level BPF helper function wrappers
Use Cases:
  • Building high-performance networking and traffic control applications
  • Creating advanced system observability and monitoring tools
  • Developing low-overhead security monitoring and policy enforcement
Alternatives:
  • BCC – BCC includes a full Clang toolchain and is easier for quick scripting, while libbpf is lighter and requires a separate compilation step.
Version History
Detected Version Rev Change Commit
Nov 25, 2024 11:55pm 0 VERSION_BUMP 27d2b142
Oct 29, 2024 6:41pm 0 VERSION_BUMP fe44977f