Skip to content

Tools & Libraries

🛠️ Essential eBPF Tools & Libraries

Comprehensive collection of tools, libraries, and frameworks for eBPF development.

Core Libraries

libbpf
  1. libbpf - Official eBPF library
  2. libbpf-rs - Rust bindings
  3. libbpf-go - Go bindings
BCC (BPF Compiler Collection)
  1. BCC - Tools and Python bindings
  2. BCC Tools - Pre-built tools
  3. BCC Python API - Python reference

Development Tools

bpftool
  1. bpftool - Official BPF tool
  2. bpftool Documentation - Manual pages
  3. bpftool Examples - Usage examples
Compiler Tools
  1. clang - eBPF compiler
  2. llvm - Compiler infrastructure
  3. BTF Generator - BTF tools

Monitoring Tools

Observability Tools
  1. bpftrace - High-level tracing language
  2. kubectl-trace - Kubernetes tracing
  3. Falco - Security monitoring with eBPF
Performance Tools
  1. perf - Linux performance tools
  2. FlameGraph - Performance visualization
  3. BCC Tools - Performance analysis

Networking Tools

XDP Tools
  1. XDP Tools - XDP utilities
  2. Cilium - eBPF-based networking
  3. Katran - Facebook's load balancer
Network Monitoring
  1. Pixie - Kubernetes observability
  2. Cilium Hubble - Network observability
  3. Flowmill - Network flow monitoring

Security Tools

Security Frameworks
  1. Falco - Runtime security
  2. Tetragon - Security observability
  3. Tracee - Runtime security

Language Bindings

Python
  1. BCC Python - BCC Python bindings
  2. redbpf - Rust eBPF for Python
Go
  1. cilium/ebpf - Pure Go eBPF library
  2. libbpf-go - Go libbpf bindings
Rust
  1. libbpf-rs - Rust libbpf bindings
  2. redbpf - Rust eBPF toolkit

Testing & Debugging

Testing Tools
  1. bpf-test - Test framework
  2. vmtest - VM-based testing
Debugging Tools
  1. bpftool - Program inspection
  2. verifier logs - Verifier debugging

Best Practices

Tool Selection

  1. libbpf: For production, CO-RE support
  2. BCC: For rapid prototyping, Python
  3. bpftrace: For ad-hoc tracing
  4. bpftool: For program management

Previous: Recommended Reading
Back to: Course Overview