惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

N
News | PayPal Newsroom
P
Proofpoint News Feed
Cyberwarzone
Cyberwarzone
C
Cisco Blogs
SecWiki News
SecWiki News
Know Your Adversary
Know Your Adversary
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Vercel News
Vercel News
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
罗磊的独立博客
NISL@THU
NISL@THU
WordPress大学
WordPress大学
Hacker News - Newest:
Hacker News - Newest: "LLM"
T
Threat Research - Cisco Blogs
AI
AI
Simon Willison's Weblog
Simon Willison's Weblog
Security Archives - TechRepublic
Security Archives - TechRepublic
有赞技术团队
有赞技术团队
L
LINUX DO - 热门话题
Hacker News: Ask HN
Hacker News: Ask HN
V
V2EX
G
GRAHAM CLULEY
TaoSecurity Blog
TaoSecurity Blog
Hugging Face - Blog
Hugging Face - Blog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
F
Fortinet All Blogs
博客园 - 叶小钗
博客园 - 三生石上(FineUI控件)
云风的 BLOG
云风的 BLOG
Recorded Future
Recorded Future
Latest news
Latest news
The Hacker News
The Hacker News
aimingoo的专栏
aimingoo的专栏
T
Troy Hunt's Blog
S
Schneier on Security
I
Intezer
Google DeepMind News
Google DeepMind News
A
Arctic Wolf
Apple Machine Learning Research
Apple Machine Learning Research
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
T
Threatpost
爱范儿
爱范儿
The Register - Security
The Register - Security
S
SegmentFault 最新的问题
Blog — PlanetScale
Blog — PlanetScale
博客园 - 聂微东
宝玉的分享
宝玉的分享
Recent Commits to openclaw:main
Recent Commits to openclaw:main
美团技术团队
B
Blog RSS Feed

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店 GitHub - EdoardoBambini/Agent-Armor-Iaga: AI agents are getting tool access — shell, file system, databases, APIs, secrets. But **nobody is governing what they actually do with it**. Frameworks like LangChain, CrewAI, AutoGen, and Claude Code give agents the power to execute. Agent Armor gives you the power to control, audit, and approve every single action before it happens. HN Vibes — Week 15, Apr 7–13 2026 GitHub - chojs23/ec: Easy terminal-native 3-way git mergetool vim-like workflow GitHub - SethPyle376/hiraeth: Local AWS emulator focused on fast integration testing, with SQS support, SQLite-backed state, and a debug-friendly web UI. GitHub - JakOb-dotcom/cloud-sandbox-security-analysis: Technical analysis and Proof of Concept (PoC) regarding environment variable exfiltration in containerized cloud sandboxes via side-channel data leaks. Springboards - Flint Alpha Show HN: A simpler coding agent harness GitHub - audiodude/sudomake-friends GitHub - 256thFission/mini-mythos: OSS clone of Anthropic’s Mythos harness to locate C/C++ memory vulnerabilities Show HN: OpenParallax: OS-level privilege separation for AI agent execution Hacker News Sorted - Chrome 应用商店 Show HN: How to Install Docker on Ubuntu 24.04 LTS: Complete 2026 Guide GitHub - himanshudongre/smriti GitHub - sverrirsig/claude-control: macOS desktop dashboard for monitoring and managing multiple Claude Code sessions GitHub - ory/dockertest: Write better integration tests! Dockertest helps you boot up ephermal docker images for your Go tests with minimal work. Chiral - Chrome 应用商店 Show HN: Two Claudes collaborating through shared memory on a $100 mini-PC GitHub - pmichaillat/latex-cv: Minimalist LaTeX template for academic CVs GitHub - oguzbilgic/posse: A web UI for Anthropic Managed Agents. GitHub - sshiraz/depsly: Dependency risk analysis tool for npm packages ABI Add safari/agent-harness — Safari browser automation via safari-mcp by achiya-automation · Pull Request #212 · HKUDS/CLI-Anything GitHub - Halfblood-Prince/trustcheck: Verify PyPI package attestations and improve Python supply-chain security GitHub - oguzbilgic/kern-ai: Agents that do the work and show it. GitHub - bruits/satteri: High-performance Markdown and MDX processing for the JavaScript ecosystem GitHub - tylergibbs1/feedstock: High-performance web crawler and scraper for TypeScript, powered by Bun and Playwright GitHub - Grimm67123/grimmbot: The self-improving sandboxed and open-source AI agent. With persistent memory and scheduling. GitHub - whitevanillaskies/whitebloom: Local whiteboard that blooms. GitHub - hwdsl2/docker-whisper: Docker image for a self-hosted Whisper speech-to-text server with speaker diarization and OpenAI-compatible transcription and translation APIs. Powered by faster-whisper. Supports all Whisper models, NVIDIA GPU (CUDA) acceleration, JSON/SRT/VTT output, SSE streaming, offline mode, and multi-arch (amd64, arm64). GitHub - yisding/reviewwiggum GitHub - MarwanAlsoltany/serrors: Structured errors for Go: sentinel hierarchies, typed data, custom formatting, and slog integration. GitHub - soatok/age-php GitHub - Luthiraa/markitme GitHub - stagas/rtdiff: realtime git diff gui and AI-assisted commits GitHub - tombedor/excalicharts GitHub - wh1le/excalidraw-edit: Open and edit .excalidraw files from the terminal. Offline, auto-saves to disk. MalExt Sentry - Malicious Extension Scanner - Chrome 应用商店 GitHub - syi0808/asciianimesvg: Generate animated ASCII art SVGs from text. CLI, Rust library, WASM, and web editor. GitHub - zaina-ml/ml_forge: A visual-based graph node editor for training computer vision models. GitHub - anakin87/llm-rl-environments-lil-course: 🌱 A little course on Reinforcement Learning Environments for evaluating and training Language Models GitHub - takaakit/superpowers-uml: Superpowers-UML modifies Superpowers to ensure a software development workflow in which AI agents design through UML modeling. AdriByte Studio - Sviluppo Web e Soluzioni Digitali GitHub - chouligi/angel-copilot: Your personalized Angel Investment Advisor Show HN: MoodSense AI (ML and FastAPI and Gradio, Deployed on Hugging Face) Moodsense Ai - a Hugging Face Space by aman179102 GitHub - agenteractai/lodmem: Level Of Detail Context Management for Agents GitHub - ostefani/subnetlens: A fast, concurrent network scanner with a TUI and plain-text CLI, built in Go. It discovers live hosts on your network, scans their open ports, resolves hostnames, and fingerprints operating systems—delivered. Cyber Pulse: Agentic Intel - Apps on Google Play Whisper API: Self-Hostable Speech to Text Transcription The Agent-Web Protocol Stack: A Research Thesis GitHub - msmarkgu/RelayFreeLLM: A restful API designed to route user prompts to various AI model providers. Show HN: Provepy – A Python decorator that proves your code using Lean and LLMs Show HN: Pardonned.com – A searchable database of US Pardons GitHub - patrickdappollonio/dux: Dux is a terminal UI that lets you run multiple AI coding agents side by side, each in its own git worktree, with full companion terminals, macros, commit generation, and a command palette that knows more tricks than you do. kMC Crystal Simulator Show HN: HyperFlow – A self-improving agent framework built on LangGraph GitHub - stef41/vibescore: 🎵 Grade your vibe-coded project. One command, instant letter grade across security, quality, dependencies, and testing. GitHub - stef41/lmscan: 🔍 Detect AI-generated text and fingerprint which LLM wrote it. Open-source GPTZero alternative. Zero dependencies, works offline. imgur.com GitHub - visionscaper/collabmem: Enabling long-term collaboration with Agentic AI - building up episodic and world model memory over time with in-context awareness 在 Steam 上购买 FriedrichAI: Offline AI 立省 10% GitHub - atripati/ark: AI Runtime Kernel — a context operating system for AI agents. Eliminates tool bloat, loads only what’s needed, and gives LLMs their reasoning space back. GitHub - nowork-studio/toprank: Open-source Claude Code skills for SEO, SEM, Google Ads GitHub - tacomanator/sash: Lightweight macOS menu bar app for reliably cycling through windows of the current application. Appents | Social Media Management for Product-First Teams GitHub - pnhoang/youtube-spam-blocker: Automatically detects and hides spam messages in YouTube Live chat. Set rate limits, keyword filters, and block repeat offenders. GitHub - decisionnode/DecisionNode: CLI + Local MCP - A shared structured memory store across Claude Code, Cursor, Windsurf, Antigravity, and every MCP client. Semantically queryable. GitHub - AvaCodeSolutions/django-email-learning: An open source Django app for creating email-based learning platforms with IMAP integration and React frontend components. The $100K Gap in Kubernetes Security Tooling Function Calling Harness: From 6.75% to 100%
GitHub - tanelpoder/brr: eBPF Runtime Reporter and Profiler
tanelpoder · 2026-06-18 · via Hacker News: Show HN

brr is an eBPF program Runtime Reporter and Profiler.

Since eBPF programs are pieces of machine code residing in (kernel) address space, you can 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 into where inside the eBPF program most of the time is spent. This tool is not calling the perf command under the hood, but uses perf_event_open() API directly. Also, it uses the bpf() syscall, for things like enabling eBPF program stats accounting (BPF_ENABLE_STATS) while brr is running.

I built this for my own use, but this tool/idea may be useful for others too. It's entirely AI-coded by Codex in Python using my specs & tests. It's been good enough for my performance testing environments (but not so sure about production :-)

  1. Jump to Installation section
  2. Jump to command line options

Usage

brr runs in two modes, brr top is an interactive TUI and other options like brr activity, brr profile produce profiles in plain text output (including JSON, CSV). See EXAMPLE_OUTPUT.md for text mode profiling examples.

Here are some screenshots from running brr top on a machine with some sysbench & fio stress-test workloads, while multiple different eBPF monitoring/observability programs were enabled.

The landing page shows the bpftop-style program execution summary. You can press "h" to display the help menu.

I had configured my xcapture tool to monitor all system calls of all threads in an efficient way (tracking + sampling, not tracing), we are apparently doing 2M syscalls/s on this machine and the xcap_sys_enter probe used 25% of one CPU time in aggregate.

Now you can use arrow keys to navigate to the program of interest and press enter to see its source code snippets (coming from each program's BTF info if available).

I picked the get_tasks program as it's a longer and more complex program. It's an eBPF task iterator doing passive sampling of all system threads' states, without injecting any tracepoints or probes into their critical path.

In the image above, you see a column WEIGHT, this is just the number of perf CPU samples that fell into that specific code line.

You also see that some code lines have a little "+" sign in front of them. These are the CPU samples where we happened to be in some Linux kernel function (not our eBPF program) - but that kernel function call was done by our eBPF program. You can press "e" to expand (and "c" to collapse) just like in perf to see the deeper stack under that eBPF program line.

So basically, I'm doing something like perf record -g --call-graph ... here, whenever I see a CPU sample in kernel function, I walk up the call-graph and see if the parent (or grandparent) function is our eBPF program of interest. eBPF programs can call (or fall) into Linux built-in kernel functions, as there are eBPF helper functions and other system activity like interrupts, page faults, spinlock gets, etc.

Here's an example with a lock_xadd() function call immediately catching (my) eyes:

But when I expand the profile with "e", I see it's actually another function call bpf_ktime_get_ns() passed into the lock_xadd(...) as an argument that calls read_tsc() that takes most of the time under the original function call:

Here are two examples from the syscount command (part of bcc-tools) when running lots of syscalls concurrently:

When expanded, we see that most of the samples fall under __pi_memcpy Linux kernel function:

When updating shared eBPF hash-maps under high concurrency (lots of events & lots of CPUs), then you might start seeing various "lock" functions showing up:

With modern eBPF sleepable programs (that allow reading other processes memory), you might even start seeing kernel spin lock functions and page fault handlers showing up in your profiles:

You can also press "e" on the folded/hidden lines showing "..." to expand the full source code (even without profile sample hits). Note that this source display is rendered from the actual binary representation, not the original source code file (compiler, JIT can move things around). So you may see weird source line ordering in the full program display.

Install

From Python source with uv

Requires Linux, Python 3.11 or newer, and uv package manager. The install instructions for uv are here.

git clone https://github.com/tanelpoder/brr.git
cd brr
uv sync
sudo env PATH="$PATH" uv run brr

To build a self-contained single binary brr that you can run without uv:

uv tool install .
sudo env PATH="$PATH" brr

Once you have the brr file, it's just like any other binary, you can copy and run it from any directory you like. The env tricks are not needed when you put the brr stand-alone binary to a directory that is in the PATH of sudo/root users (or just use fully qualified pathname when executing the program).

When installing from a DEB/RPM package or putting the standalone binary into a directory that's in root-visible PATH, then you just run:

sudo brr
sudo /usr/bin/brr

Download Stand-alone binaries for ARM and X86

If you don't want to build from source and are happy to run binaries from random internet pages like this one, then you can download the latest standalone binary for your platform from the releases page.

On x86:

curl -L https://github.com/tanelpoder/brr/releases/download/v0.4.1/brr-0.4.1-linux-x86_64 -o brr
chmod u+x brr
sudo ./brr

On ARM:

curl -L https://github.com/tanelpoder/brr/releases/download/v0.4.1/brr-0.4.1-linux-aarch64 -o brr
chmod u+x brr
sudo ./brr

Install Debian or Ubuntu Packages

Download the DEB for your architecture from the GitHub release, then install it:

sudo dpkg -i brr_0.4.1-1_amd64.deb

On ARM64:

sudo dpkg -i brr_0.4.1-1_arm64.deb

Install on Fedora, RHEL and RPM-compatible systems

Download the RPM for your architecture from the GitHub release, then install it:

sudo rpm -Uvh brr-0.4.1-1.x86_64.rpm

On AArch64:

sudo rpm -Uvh brr-0.4.1-1.aarch64.rpm

The packaged command installs as /usr/bin/brr and contains a standalone binary. It does not depend on system Python.

Command line options

Most useful commands need root or equivalent Linux capabilities because they open BPF objects and CPU-wide perf events.

The --help option shows the key features and options at higher level. You can run --help also for subcommands to get more detail, like brr top --help.

$ sudo brr --help
usage: brr [-h] [--bpffs BPFFS] [--json] [--csv] [--pretty] [-x] [-c] [-V]
           {prog,activity,top,map,link,btf,perf-events,dump,dump-compare,profile} ...

eBPF Runtime Reporter and Profiler by Tanel Poder (tanelpoder.com).

positional arguments:
  {prog,activity,top,map,link,btf,perf-events,dump,dump-compare,profile}
    prog                List loaded eBPF programs.
    activity            Show eBPF program runtime deltas.
    top                 Show the live eBPF top TUI.
    map                 List loaded eBPF maps.
    link                List loaded eBPF links.
    btf                 List loaded BTF objects.
    perf-events         List brr-supported perf events openable on this host.
    dump                Dump translated instructions and source-line metadata for a program.
    dump-compare        Compare brr dump output with bpftool source-line metadata.
    profile             Profile BPF JIT execution with native perf_event_open sampling.

options:
  -h, --help            show this help message and exit
  --bpffs BPFFS         bpffs mount path used for pinned object enrichment.
  --json                Emit machine-readable JSON instead of text.
  --csv                 Emit machine-readable CSV instead of text.
  --pretty              Pretty-print JSON output. Requires --json.
  -x, --extended        Show extended TAG and PINNED columns in text output.
  -c, --cumulative      Show cumulative runtime metrics where available in text output.
  -V, --version         Show version number and exit.

Open the interactive top-style TUI:

sudo brr top
sudo brr top -x
sudo brr top -c

Inside brr top, press x to toggle extended columns and c to toggle cumulative columns.

List loaded eBPF programs:

sudo brr
sudo brr prog
sudo brr -x

List other object types:

sudo brr map
sudo brr link
sudo brr btf

Include runtime counters in the program list:

Show runtime deltas:

sudo brr activity --duration 2 --limit 10
sudo brr activity -x --duration 2
sudo brr activity -c --duration 2

Inspect a program by ID:

sudo brr dump 48
sudo brr top --program-id 48

Profile BPF JIT CPU samples:

sudo brr profile --duration 5 --event auto

List perf events that brr can open on the current host:

If brr is installed in a user-local path and you run it with sudo, preserve your PATH:

sudo env PATH="$PATH" brr

Build Release Artifacts

Release artifacts are built locally from the current checkout. The standalone binary is native to the build machine, so build on each target architecture.

uv sync --group dev --group package
uv run --group package python scripts/build_release.py --all

Artifacts are written to dist/release/:

  • brr-0.4.1-linux-<arch>
  • brr_0.4.1-1_<deb-arch>.deb
  • brr-0.4.1-1.<rpm-arch>.rpm
  • SHA256SUMS

Notes

  • Default bpffs path: /sys/fs/bpf
  • Optional bpftool: enriches mixed inspect output when available
  • perf command-line tool: not used by brr
  • Runtime stats are enabled temporarily with BPF_ENABLE_STATS; brr does not write to /proc/sys/kernel/bpf_stats_enabled