Skip to content
SPECIFICTION
Get listed

BCC vs bpftrace

BCC

github.com

bpftrace

bpftrace.org

Side by side

FigureBCCbpftrace
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
LinuxYesYes
Self-hostedYesYes
Plans published11
Spec score · eBPF Observability Tools7.9 (#12)8.6 (#4)
PurposeBCC is a toolkit for creating efficient kernel tracing and manipulation programs using eBPF.bpftrace is a high-level tracing language for Linux for writing observability-based eBPF programs.
SupportThe project points users to its GitHub issue tracker, the IOVisor mailing list, and the #iovisor IRC channel for project discussion and help.The project README lists GitHub Discussions, the issue tracker, monthly office hours, and Discord as ways to get help or participate.

Plans

BCC

  • BCCFree

BCC pricing →

bpftrace

  • bpftraceFree

bpftrace pricing →

In their own words

BCC

BCC has no write-up on Specifiction yet; its figures are above.

Visit github.com

bpftrace

bpftrace is a free, high-level tracing language and general-purpose Linux tracing tool built on eBPF. It supports kernel and user-space dynamic tracing, perf events, USDT, uprobes, and tracepoints. Its language draws from awk, C, DTrace, and SystemTap. Programs can come from files, inline -e input, or standard input, and the standard library supplies builtins, functions, macros, and map-value functions. LLVM compiles scripts to eBPF bytecode; libbpf interacts with Linux’s BPF subsystem, with bcc also used in the implementation. Scripts can import bpftrace files, C headers, BPF C source, and supported directory files. Unsafe helpers require --unsafe, and imports from world-writable directories are refused. The default probe maximum is 1,024; increasing it can raise memory use, startup time, overhead, or risk freezes and crashes. Supported architectures include x86_64, arm64, s390x, arm32, loongarch64, mips64, ppc64, and riscv64. Some features need kernel headers; vmlinux BTF needs Linux 4.18 or later with CONFIG_DEBUG_INFO_BTF enabled.

Visit bpftrace.org