bcc VS libbpf

Compare bcc vs libbpf and see what are their differences.

bcc

BCC - Tools for BPF-based Linux IO analysis, networking, monitoring, and more (by iovisor)

libbpf

Automated upstream mirror for libbpf stand-alone build. (by libbpf)
Our great sponsors
  • InfluxDB - Access the most powerful time series database as a service
  • SonarLint - Clean code begins in your IDE with SonarLint
  • SaaSHub - Software Alternatives and Reviews
bcc libbpf
55 3
16,869 1,365
2.2% 7.9%
8.8 9.3
1 day ago 11 days ago
C C
Apache License 2.0 GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

bcc

Posts with mentions or reviews of bcc. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-16.

libbpf

Posts with mentions or reviews of libbpf. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-11.
  • Wasm-bpf: Build and run eBPF programs in WebAssembly
    3 projects | reddit.com/r/eBPF | 11 Feb 2023
    Wasm-bpf is a WebAssembly eBPF library, toolchain and runtime powered by CO-RE(Compile Once – Run Everywhere) libbpf and WAMR. It can help you build almost every eBPF programs or use cases to Wasm.
  • Tips and Tricks for Writing Linux BPF Applications with libbpf
    6 projects | dev.to | 12 Jan 2021
    Starting in v0.2, libbpf supports multiple entry-point BPF programs within the same executable and linkable format (ELF) section. Therefore, you can attach multiple BPF programs to the same event (such as tracepoints or kprobes) without worrying about ELF section name clashes. For details, see Add libbpf full support for BPF-to-BPF calls. Now, you can naturally define multiple handlers for an event like this:

What are some alternatives?

When comparing bcc and libbpf you can also consider the following projects:

libbpf-bootstrap - Scaffolding for BPF application development with libbpf and BPF CO-RE

zfs - OpenZFS on Linux and FreeBSD

linux - Linux kernel source tree

libbpf-bootstrap - Scaffolding for BPF application development with libbpf and BPF CO-RE

flamegraph - Easy flamegraphs for Rust projects and everything else, without Perl or pipes <3

ebpf-for-windows - eBPF implementation that runs on top of Windows

nokogiri-rust - Ruby FFI wrapper around scraper crate to be used instead of Nokogiri. Status: proof of concept.

bpftrace - High-level tracing language for Linux eBPF

rbspy - Sampling CPU profiler for Ruby

libguestfs - library and tools for accessing and modifying virtual machine disk images. PLEASE DO NOT USE GITHUB FOR ISSUES OR PULL REQUESTS. See the website for how to file a bug or contact us.

lexbor - Lexbor is development of an open source HTML Renderer library. http://lexbor.com