Back to browse
GitHub Repository

eBPF Runtime Reporter and Profiler

1 starsPython

eBPF Runtime Reporter and Profiler (brr)

by tanelpoder·Jun 18, 2026·2 points·0 comments

AI Analysis

●●SolidNiche GemSolve My Problem

Unifies bpftop call counts with perf source-line profiling in one TUI.

Strengths
  • Direct perf_event_open() API usage instead of spawning perf commands
  • Maps CPU samples back to eBPF source lines using BTF info
Weaknesses
  • Early stage with just 16 commits and 1 star on GitHub
  • Author notes uncertainty about production readiness in README
Target Audience

eBPF developers, kernel engineers, performance engineers

Similar To

bpftop · bpftrace · perf

Post Description

Here's something I've been using for eBPF program profiling & optimization purposes and just published it as it has made my "performance nerd life" easier.

This is a tool for profiling eBPF programs themselves, probe->kernel activity, interactions with shared hash maps, etc.

Since eBPF programs are pieces of machine code residing in (kernel) address space, you could profile them with standard perf just like any other kernel function. However, perf alone won't show you other useful metrics like number of executions and average eBPF program runtime, like bpftop does. Also, I want an easy way to map CPU samples to original source code lines, where possible.

I wanted to unify both approaches, display the bpftop-style call count & probe latency, with the ability to drill down inside where the eBPF program spends most of it's time.

Similar Projects

Security●●●Banger

Kubernetes Security Profile Generator Using eBPF

Detects silently-dropped NetworkPolicy traffic by counting TCP SYN retransmissions — brilliant.

WizardryBig BrainSolve My Problem
mrayas
403mo ago