Colin King (cking-kernel-tools) Publisher

Install latest/stable of bpftrace

Ubuntu 16.04 or later?

Make sure snap support is enabled in your Desktop store.

Install using the command line

sudo snap install bpftrace

Don't have snapd? Get set up for snaps.

Channel Version Published

high-level tracing language for Linux eBPF

BPFtrace is a high-level tracing language for Linux enhanced Berkeley Packet Filter available in recent Linux kernels. BPFtrace uses LLVM as a backend to compile scripts to BPF-bytecode and makes use of BCC for interacting with the Linux BPF system, as well as existing Linux tracing capabilities: kernel dynamic tracing, user-level dynamic tracing and tracepoints.

Install from the command line using:

sudo snap install bpftrace
sudo snap connect bpftrace:system-trace

For more information, visit:

https://github.com/iovisor/bpftrace/blob/master/docs/reference_guide.md https://github.com/iovisor/bpftrace/blob/master/docs/tutorial_one_liners.md

Details for bpftrace

Last updated
11 September 2021

Share this snap

Generate an embeddable card to be shared on external websites.

Related blog posts

Where people are using bpftrace

Users by distribution (log)

Ubuntu 18.04
Ubuntu 20.04
Ubuntu 16.04
Ubuntu 21.04
CentOS 7
Debian 9
Ubuntu 20.10
Debian 10
Ubuntu 18.10
Linux Mint 19.3
Linux Mint 20.2

Install bpftrace on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.

Is there a problem with bpftrace? Report this app