bpftrace/bpftrace
{ "createdAt": "2018-08-31T04:34:44Z", "defaultBranch": "master", "description": "High-level tracing language for Linux", "fullName": "bpftrace/bpftrace", "homepage": "https://bpftrace.org/", "language": "C++", "name": "bpftrace", "pushedAt": "2026-03-21T19:42:08Z", "stargazersCount": 10001, "topics": [ "bcc", "bpf", "ebpf", "kprobes", "tracepoints", "tracing", "uprobes", "usdt" ], "updatedAt": "2026-03-21T18:06:19Z", "url": "https://github.com/bpftrace/bpftrace"}
bpftrace is a general purpose tracing tool and language for Linux. It leverages eBPF to provide powerful, efficient tracing capabilities with minimal overhead. bpftrace uses LLVM as a compiler backend, and libbpf for interacting with the Linux BPF subsystem, including kernel dynamic tracing (kprobes, hardware and software perf events), user-level dynamic tracing (USDT, uprobes), tracepoints (regular, raw), and more. The bpftrace language is inspired by awk, C, and predecessor tracers such as DTrace and SystemTap.
Visit bpftrace.org for tutorials, documentation, and labs!
This respository also contains some [canonical tools]!(tools/README.md).
For migrating from older versions, see the [migration guide]!(docs/migration_guide.md).
Quick Start
Section titled “Quick Start”Get started with bpftrace in just a few minutes! To build from source, see the [development guide]!(docs/developers.md#building). However, you can often install it using your distribution’s package manager.
[!IMPORTANT] When using a distribution package, be sure to verify
bpftrace --versionwhen referencing documentation.
Contributing
Section titled “Contributing”See our [contributing guide]!(CONTRIBUTING.md) for details on how to contribute, and our [governance]!(GOVERNANCE.md) document for details on how the project is run.
If you have tools built with bpftrace that you’d like to submit, please contribute to the user-tools repository.
Building
Section titled “Building”For full build instructions (Nix or distro-native), see the [development guide]!(docs/developers.md#building).
Community & Support
Section titled “Community & Support”bpftrace is built and maintained by a diverse community of contributors, users, and organizations who rely on it for production tracing and debugging.
Get help or get involved:
- 💬 GitHub Discussions - Ask questions
- 🐛 Issue Tracker - Report bugs and request features
- 📅 Monthly Office Hours - Open to everyone
- 💬 Discord - Open to everyone (if the link expired, write to #4916)