Back to blog
ebpf

The best open-source eBPF tools in 2026: what to use for tracing, security, networking and observability

A field guide to the most useful open-source eBPF tools - bpftrace, bcc, Falco, Tetragon, Cilium, pwru, Beyla, Pixie, Coroot, Parca and more - for tracing, security, networking and observability, what each costs to run, and how to pick.

Sandeep Sidhu

Sandeep Sidhu · Founder, AlertKick

7 min read
The best open-source eBPF tools in 2026: what to use for tracing, security, networking and observability

eBPF lets programs run safely inside the Linux kernel. An entire ecosystem of tooling grew on top of it for tracing, security, networking, and profiling. The problem is navigation, not quality. A dozen serious projects have overlapping descriptions. The honest answer to “which one?” is always “for what?”.

This is the map. Fourteen projects that have earned their place, grouped by the job they do, with the operating cost stated out loud. With eBPF tooling the install is never the expensive part.

Which eBPF tool should you use?

You wantReach for
Answer a live question on one host, nowbpftrace
Ready-made tracing tools, no codebcc tools
Threat detection on VMs / mixed fleetsFalco
Threat detection + enforcement on k8s with CiliumTetragon
Kubernetes networkingCilium
”Where did my packet go”pwru
Kernel metrics into your dashboardsebpf_exporter
Cost accounting of eBPF itselfbpftop
bcc-style tracing with pod identityInspektor Gadget
App metrics and traces with no code changesGrafana Beyla (OBI)
Service map and slow-service diagnosisCoroot or Pixie
Continuous CPU profilingParca
Network flows on a Cilium clusterHubble

Ad-hoc tracing: your first eBPF tools

bpftrace

github.com/bpftrace/bpftrace

Learn bpftrace. It is an awk-like language for the kernel: attach to a tracepoint, kprobe, or perf event, filter, aggregate, print. One line of it answers questions that are otherwise unanswerable on a live production host:

# every new process, live
bpftrace -e 'tracepoint:syscalls:sys_enter_execve { printf("%s -> %s\n", comm, str(args->filename)); }'

# who is opening which files
bpftrace -e 'tracepoint:syscalls:sys_enter_openat { printf("%s %s\n", comm, str(args->filename)); }'

Operating cost: near zero. It is a package install, runs as root when you need it, and is gone when you close the terminal. There is a full getting-started guide with a dozen production one-liners on this blog.

bcc

github.com/iovisor/bcc

The original eBPF toolkit: a framework for writing eBPF tools in Python and C, plus the famous collection of ready-made tools it ships - execsnoop, opensnoop, tcpconnect, biolatency, cachestat, and about a hundred more. Most distros package the collection as bpfcc-tools.

Use the shipped tools freely - they are excellent and battle-tested. Write new tools in bcc only when bpftrace runs out of expressiveness; for new standalone tooling the ecosystem has largely moved to libbpf with CO-RE, which produces small portable binaries instead of compiling at runtime.

Runtime security: watching for attackers

Falco

github.com/falcosecurity/falco

The CNCF-graduated standard for syscall-based threat detection: a rules engine over kernel events, with a community rule set covering shells in containers, sensitive file reads, privilege escalation patterns, and much of the MITRE ATT&CK matrix. Runs on plain VMs and bare metal as happily as on Kubernetes.

Operating cost: the highest on this list relative to its install effort. The engine is free; the pipeline is on you - output routing to somewhere humans look, deduplication, and above all rule tuning, which is a standing weekly loop, not a launch task. We wrote a two-part deep dive: installing and configuring Falco and the rule language and tuning workflow.

Tetragon

github.com/cilium/tetragon

Cilium’s security observability and enforcement engine. Where Falco observes and reports, Tetragon can also act - kill a process the moment it matches a policy, before the damage syscall returns. Policies are Kubernetes CRDs, filtering happens in-kernel (cheap), and identity is container/pod-native.

Choose it when you are already in the Cilium ecosystem on Kubernetes and want enforcement. On plain fleets, or without k8s, Falco’s maturity and rule library win.

Networking and packet-level debugging

Cilium

github.com/cilium/cilium

The project that made eBPF famous: a Kubernetes CNI that replaces kube-proxy and iptables chains with eBPF programs, adding network policy, load balancing, and (via Hubble) flow-level observability. If you run Kubernetes at any real scale it is the default answer to networking; if you do not run Kubernetes, it is not for you, and that is fine.

pwru

github.com/cilium/pwru

“Packet, where are you” - the tcpdump of kernel internals. Where tcpdump shows a packet arriving and (maybe) leaving, pwru traces the packet through the kernel: every function it passes, and where it gets dropped and why. For “the SYN arrives but nothing answers and iptables looks fine” mysteries, nothing else comes close. Single static binary, run it when needed.

Metrics and profiling

ebpf_exporter

github.com/cloudflare/ebpf_exporter

Cloudflare’s bridge from eBPF to Prometheus-style metrics: you define eBPF programs in YAML + C, it exposes the aggregates as a scrape endpoint. This is how you get metrics that do not otherwise exist - disk latency histograms per operation type, TCP retransmit counters per destination, run-queue latency. Sharp tool, assumes you already run a metrics stack and are comfortable writing kernel-side code.

bpftop

github.com/Netflix/bpftop

Netflix’s top for eBPF programs themselves: which programs are loaded, how often they run, and what they cost in CPU. The moment more than one thing on this list is running on the same host, bpftop is how you find out which one is eating the budget. Zero-config single binary.

eBPF observability and monitoring tools

These tools collect application and service metrics, traces and profiles with no code changes, because eBPF sees the requests in the kernel.

Grafana Beyla / OpenTelemetry eBPF Instrumentation

github.com/grafana/beyla

Auto-instruments HTTP and gRPC services (Go, Java, Python, Node.js, Rust, .NET and more) and emits RED metrics (rate, errors, duration) and traces in OpenTelemetry format. Grafana donated the code to the OpenTelemetry project in 2025, where it continues as OpenTelemetry eBPF Instrumentation (OBI). Runs as one process or DaemonSet; needs somewhere to send OTLP (Prometheus, Tempo, any OTel backend).

Pixie

github.com/pixie-io/pixie

CNCF sandbox project, Kubernetes only. Captures HTTP, gRPC, DNS, MySQL, PostgreSQL, Redis and Kafka traffic automatically and keeps the data in the cluster; you query it with PxL scripts or its UI. Memory hungry: plan for gigabytes per node.

Coroot

github.com/coroot/coroot

Open-source observability that builds a service map from eBPF network data, plus metrics, logs, traces and profiles, with built-in inspections that explain why a service is slow. Works on Kubernetes and plain hosts. Needs ClickHouse and Prometheus behind it.

Parca

github.com/parca-dev/parca

Continuous profiling: the parca-agent samples CPU stacks of every process with eBPF, no instrumentation, so you can see which functions burn CPU over time. Low overhead; storage is the cost.

Hubble

github.com/cilium/hubble

Network flow observability for clusters already running Cilium: service dependency map, DNS and HTTP flow logs, dropped packets with the policy that dropped them. Not usable without Cilium.

Rule of thumb: Kubernetes with Cilium -> Hubble first; app RED metrics into an existing Grafana/OTel stack -> Beyla/OBI; slow-service diagnosis across hosts -> Coroot; CPU cost questions -> Parca.

Kubernetes-native inspection

Inspektor Gadget

github.com/inspektor-gadget/inspektor-gadget

bcc commands repackaged for Kubernetes: kubectl gadget trace exec, trace open, top tcp, and friends. Every event includes pod, namespace, and container identity instead of bare PIDs. Correlate traces with “which pod was that?” without manual lookups. Deploys as a DaemonSet. Remove it when not investigating if you are footprint-sensitive.

libpcap vs eBPF: what is the difference?

libpcap (used by tcpdump and Wireshark) compiles a filter to classic BPF (cBPF). The kernel runs that filter on each packet and copies matching packets to user space, where the analysis happens. eBPF is the extended successor. Programs run in the kernel at many hook points (network, syscalls, kernel functions, tracepoints), not only on packets. They can count, aggregate and drop in the kernel so only summaries reach user space.

Use tcpdump/libpcap to capture and read packets. Use eBPF tools (pwru, Cilium, bpftrace) when you need to know why a packet was dropped, what process sent it, or counts at high packet rates without copying every packet. On modern kernels cBPF filters are translated to eBPF internally.

Choosing, honestly

Every one of these is genuinely free to install. The distinction that matters is what each costs to keep: the tracing tools (bpftrace, bcc, pwru, bpftop) cost nothing between uses and belong in every Linux engineer’s kit. The platforms (Falco, Tetragon, Cilium, ebpf_exporter) are infrastructure - they need an owner, an update cadence, a tuning loop, and a pipeline to the humans on call.

That gap - between “the kernel visibility is free” and “the outcome costs an engineer” - is exactly the gap AlertKick exists to close for the security use case: one agent that ships the eBPF detections (shell-in-container, credential reads, reverse shells, crypto miners, fileless execution), MITRE ATT&CK mapping, AI triage of the event stream, and the alerting and on-call layer, from £5/month. Run bpftrace with our blessing - and let the security platform be someone else’s pager.

Frequently asked questions

What is the best eBPF tool for beginners?
bpftrace. It is a single package, needs no code compilation, and a one-line program gives you real kernel visibility in seconds - for example tracing every new process or every file open on a live host. Learn it before anything heavier.
What is the difference between bcc and bpftrace?
Both trace the kernel. bpftrace is a high-level one-liner language for interactive investigation; bcc is a Python/C framework for building full tools, and ships the classic *snoop tool collection. Reach for bpftrace first, bcc when a script needs logic a one-liner cannot hold.
Falco or Tetragon for runtime security?
Falco is the mature, rules-driven detector with the larger community rule set and runs fine on plain hosts. Tetragon is Kubernetes-native, built on modern eBPF with in-kernel filtering and optional enforcement (it can kill a process, not just report it). On k8s with Cilium already deployed, Tetragon fits naturally; elsewhere Falco is the safer default.
Do eBPF tools work on any Linux kernel?
Modern tools generally want kernel 5.8+ with BTF for CO-RE portability; basic tracing works back to 4.x with per-kernel compilation. Distro kernels from Ubuntu 22.04, Debian 12, and RHEL 9 onwards are all comfortably modern. Check a specific version with alertkick.com/tools/ebpf-checker.
ebpf tools open source linux observability security