cilium

    cilium/ebpf

    ebpf-go is a pure-Go library to read, modify and load eBPF programs and attach them to various hooks in the Linux kernel.

    8.0K stars
    905 forks
    8.0K GitHub watchers
    Updated Nov 3, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    No releases in the last 90 days; the most recent was 127 days ago, with 169 contributors on GitHub.

    Peaked at #35 in the weekly ranking the week of Dec 28, its best in the past year.

    Use Cases & Benefits

    • Provides a pure Go library to load, modify, and attach eBPF programs to Linux kernel hooks.
    • Offers minimal dependencies and native Go APIs for seamless eBPF integration in long-running processes.
    • Use for embedding and managing eBPF programs written in C directly within Go applications.
    • Use for attaching eBPF programs to various kernel hooks for advanced Linux observability and monitoring.
    • Use for probing kernel BPF features and managing resource limits programmatically in Go.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    MIT

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present
    • Contributing guide: present
    • Code of conduct: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    ebpf-go is a pure Go library that provides utilities for loading, compiling, and debugging eBPF programs. It has minimal external dependencies and is intended to be used in long running processes.

    See ebpf.io for complementary projects from the wider eBPF ecosystem.

    Please take a look at our Getting Started guide.

    Contributions are highly encouraged, as they highlight certain use cases of eBPF and the library, and help shape the future of the project.

    The community actively monitors our GitHub Discussions page. Please search for existing threads before starting a new one. Refrain from opening issues on the bug tracker if you're just starting out or if you're not sure if something is a bug in the library code.

    Alternatively, join the #ebpf-go channel on Slack if you have other questions regarding the project. Note that this channel is ephemeral and has its history erased past a certain point, which is less helpful for others running into the same problem later.

    Excerpt from the cilium/ebpf README on GitHub (MIT license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    905+21

    Open issues

    26+9

    Compared with peers in Backend

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth

    cilium/ebpf compared with Backend repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    anthropics/skills192.3K+5.2K75—
    zed-industries/zed94.7K+2.3K756 days ago
    google/skills23.8K+2.0K75—
    NationalSecurityAgency/ghidra99.4K+1.8K7519 days ago
    DuarteSantos8/openGym20.8K+1.7K757 days ago
    cilium/ebpf8.0K—58127 days ago
    Category median94.7K+2.0K75—

    Also by cilium

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description