---
title: "One ELF for the whole fleet"
---

> Documentation Index
> Fetch the complete documentation index at: https://example.com/llms.txt
> Use this file to discover all available pages before exploring further.

# One ELF for the whole fleet

BTF + CO-RE ended the era of shipping Clang onto production servers. Compile once in CI, verify `.BTF.ext`, and let the loader adapt cleanly to each host's kernel.

Pick the toolchain that matches your team's runtime: `libbpf` for ultra-low-footprint C daemons, `Aya` for Rust data planes, and `cilium/ebpf` for Go Kubernetes agents.

## eBPF toolchain comparison

|  | BCC | libbpf (C) | Aya / cilium-ebpf |
| --- | --- | --- | --- |
| Prod compiler | Clang required | None | None |
| Daemon RSS | 150–300 MiB | ~3 MiB | 10–35 MiB |
| CO-RE support | Limited | Reference | Native |
| Best fit | Ad-hoc debug | Host profiler | Go/Rust agents |

Source: https://example.com/ebpf-field-guide/portability-and-toolchain/btf-and-core/recap/index.mdx
