bpftrace
Input—per 1M tokens
Output—per 1M tokens
Context—tokens
WeightsClosed
About
bpftrace is ranked #11 of 29 in eBPF observability tools on Inferse. It runs on Linux, Self-hosted. There is a free plan.
Compared on eBPF observability tools
- Free plan
- Yesbpftrace.org
- Deployment model
- self-hostedbpftrace.org
- Network visibility
- Yesbpftrace.org
- Application tracing
- Yesbpftrace.org
- Kernel profiling
- Yesbpftrace.org
- Supported operating systems
- Linuxbpftrace.org
Facts
- Purpose
- bpftrace is a high-level tracing language and general-purpose tracing tool for Linux that uses eBPF.bpftrace.org · 3 Oct 2026
- Tracing sources
- It supports kernel and user-level dynamic tracing, perf events, USDT, uprobes, and tracepoints.github.com · 3 Oct 2026
- Compiler and libraries
- bpftrace uses LLVM as a compiler backend and libbpf to interact with the Linux BPF subsystem.github.com · 3 Oct 2026
- Language
- Its language is inspired by awk, C, DTrace, and SystemTap.github.com · 3 Oct 2026
- Scripting
- Programs can be supplied as a file, inline with -e, or through standard input.bpftrace.org · 3 Oct 2026
- Standard library
- The standard library includes builtins, functions, macros, and map value functions.bpftrace.org · 3 Oct 2026
- Security control
- Helpers marked unsafe require the --unsafe flag to use.bpftrace.org · 3 Oct 2026
- Import security
- bpftrace refuses to import files from world-writable directories.bpftrace.org · 3 Oct 2026
- Operational limit
- The default maximum number of probes is 1,024; increasing it can use more memory, increase startup time, and cause high overhead or system freezes or crashes.bpftrace.org · 3 Oct 2026
- Installation
- The project README lists installation commands for several Linux distribution package managers, including apt, dnf, apk, pacman, emerge, and zypper.github.com · 3 Oct 2026
- Support
- The project README points users to GitHub Discussions, the issue tracker, monthly office hours, and Discord for help or involvement.github.com · 3 Oct 2026
- Intended users
- The project says its contributors, users, and organizations rely on it for production tracing and debugging.github.com · 3 Oct 2026
- Purpose
- bpftrace is a high-level tracing language for Linux for writing observability-based eBPF programs.bpftrace.org · 4 Oct 2026
- Tracing
- It supports static and dynamic tracing for both the kernel and user space.bpftrace.org · 4 Oct 2026
- Probe types
- The documentation describes probes including kprobes, uprobes, and tracepoints.bpftrace.org · 4 Oct 2026
- Implementation
- bpftrace uses LLVM to compile scripts to eBPF bytecode and uses libbpf and bcc to interact with Linux BPF.bpftrace.org · 4 Oct 2026
- Language
- The bpftrace language is inspired by awk, C, DTrace, and SystemTap.bpftrace.org · 4 Oct 2026
- Script imports
- Scripts can import bpftrace files, C headers, BPF C source files, or supported files from a directory.bpftrace.org · 4 Oct 2026
- Security
- As a security measure, bpftrace refuses to import files from world-writable directories.bpftrace.org · 4 Oct 2026
- Architectures
- The documentation lists x86_64, arm64, s390x, arm32, loongarch64, mips64, ppc64, and riscv64 as supported architectures.bpftrace.org · 4 Oct 2026
- System requirements
- Some features require kernel headers, and BTF support for vmlinux requires Linux 4.18 or later with CONFIG_DEBUG_INFO_BTF enabled.bpftrace.org · 4 Oct 2026
- Install options
- The project README lists package-manager installation commands for distributions including Ubuntu, Fedora, Alpine, Arch, Gentoo, Nix, and openSUSE.github.com · 4 Oct 2026
- Integration
- A community language server offers autocompletion, error diagnostics, and go-to-definition in editors that support LSP.bpftrace.org · 4 Oct 2026
- Support
- The project README lists GitHub Discussions, the issue tracker, monthly office hours, and Discord as ways to get help or participate.github.com · 4 Oct 2026
- Limit
- The documentation says unstable features are subject to change or removal.bpftrace.org · 4 Oct 2026
- Playground
- The web playground notes that it does not yet support all bpftrace features.bpftrace.org · 4 Oct 2026
Best bpftrace alternatives
See all 12
7.4 DeepFlow Free free plan, no paid price published Free plan
7.4 Elastic Observability See plans price on the maker's page Free trial
7.4 Kubeshark $30/mo first paid tier Free plan
7.3 Coroot $1/mo first paid tier Free plan
7.3 Inspektor Gadget Free free plan, no paid price published Free plan
7.3 Metoro Kubernetes Profiling $20/mo first paid tier Free plan Where it ranks on Inferse
Sources
- bpftrace.org· checked 3 Oct 2026
- github.com/bpftrace/bpftrace· checked 3 Oct 2026
- bpftrace.org/docs/release_027/cli· checked 3 Oct 2026
- bpftrace.org/docs/release_027/stdlib· checked 3 Oct 2026
- bpftrace.org/docs/release_027/language· checked 3 Oct 2026
- github.com/bpftrace/bpftrace/blob/master/README.md· checked 3 Oct 2026
- bpftrace.org/about· checked 4 Oct 2026
- bpftrace.org/ecosystem· checked 4 Oct 2026
- bpftrace.org/playground· checked 4 Oct 2026


