libbpf
Automated upstream mirror for libbpf stand-alone build. observed · 2026-08-28
Health v2 · maintenance only
89/100
- Activity 95
- Release rhythm 75
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 2
- age_days: 2885
- days_rel: 170
- days_push: 34
- n_releases_24m: 14
Adoption not part of the score
2750 stars · 502 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
libbpf is the official stand-alone C library for loading and managing BPF programs and maps on Linux, developed upstream in the bpf-next kernel tree and mirrored to GitHub. The ecosystem includes libbpf-bootstrap for example BPF applications and libbpf-rs, a safe idiomatic Rust wrapper around libbpf.
Use cases
- write eBPF programs that trace kernel and user-space events
- load and manage BPF objects from a C application
- build CO-RE (compile once, run everywhere) BPF applications
- develop custom Linux observability and tracing tools
- write eBPF tooling in Rust with a safe API
- instrument networking, security, or performance monitoring via BPF
When to choose
- you need low-level, kernel-synced BPF loading APIs on Linux
- you want CO-RE portability for BPF programs across kernel versions
- you are building tracing or observability tools like bpftrace-style utilities
- you want a safe Rust interface to eBPF via libbpf-rs
When to avoid
- you need BPF on non-Linux platforms
- you want a high-level scripting tool rather than a library (consider bpftrace or BCC)
- you need Windows eBPF support
Facets
library · maturity stable
tracing developer-tools sdk developer-tools operating-systems performance monitoring c rust cli bpf ebpf libbpf kernel observability co-re bpf-rs linux
2 sources
- readme: https://github.com/libbpf/libbpf · fetched 2026-08-28 · 77db766309a8
- registry_crates: https://crates.io/api/v1/crates/libbpf-rs · fetched 2026-08-29 · 20b021713fd7
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| libbpf/libbpf | main | 89 |
| libbpf/libbpf-bootstrap | examples | 77 |
| libbpf/libbpf-rs | sdk | 98 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem