Tagged articles
4 articles
Page 1 of 1
BirdNest Tech Talk
BirdNest Tech Talk
Sep 12, 2024 · Fundamentals

Mastering eBPF with CO-RE: From Basics to Go Implementation

This article introduces eBPF fundamentals, explains the Compile‑Once‑Run‑Everywhere (CO‑RE) approach, compares it with traditional eBPF, outlines best practices, and walks through a complete Go‑based example using the Cilium/eBPF library and the eunomia‑bpf runtime.

CO-RECiliumGo
0 likes · 14 min read
Mastering eBPF with CO-RE: From Basics to Go Implementation
Alibaba Cloud Big Data AI Platform
Alibaba Cloud Big Data AI Platform
Mar 18, 2024 · Operations

Build Pure‑C eBPF Projects with Native libbpf – No libbpf‑bootstrap Needed

This article walks through constructing pure‑C eBPF programs using the native libbpf library, covering kernel‑libbpf version mapping, environment setup for RPM and DEB systems, detailed Makefile analysis, embedding BPF objects via hexdump, and extending the approach to USDT and Uprobe tracing without relying on libbpf‑bootstrap.

C ProgrammingLinux kernelSystem Tracing
0 likes · 40 min read
Build Pure‑C eBPF Projects with Native libbpf – No libbpf‑bootstrap Needed