Skip to content

C libbpf, Rust Aya & Go ebpf

Step 6 of 8Concept
C / LIBBPF
smallest RSS
RUST AYA
pure Rust
GO CILIUM
cloud-native
SKELETONS
type-safe
  • compile / emit relocs
  • BTF offset patch
  • load verified ELF
BTF, CO-RE & Toolchains, step 6 of 8

libbpf (C) is the reference CO-RE library; bpftool gen skeleton embeds the .bpf.o directly into your binary (~3 MiB RSS daemon). Go’s cilium/ebpf uses bpf2go to embed Clang-compiled ELF objects into pure-Go binaries.

Rust’s Aya compiles both kernel and user space in Rust with zero C toolchain dependency—what powers our own agility-ebpf-listen capture binary.

Type to search…

↑↓ navigate↵ selectEsc close