---
title: "BTF, CO-RE & Toolchains"
description: "How one compiled eBPF ELF runs cleanly across RHEL, Ubuntu, and Oracle kernels without shipping Clang to production."
---

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

# BTF, CO-RE & Toolchains

## You'll learn

- [Why raw kernel struct offsets break across distros](https://example.com/ebpf-field-guide/portability-and-toolchain/btf-and-core/drift/)
- [Why runtime compilation (BCC) strains production nodes](https://example.com/ebpf-field-guide/portability-and-toolchain/btf-and-core/bcc-cost/)
- [How BTF embeds compact kernel type info](https://example.com/ebpf-field-guide/portability-and-toolchain/btf-and-core/btf/)
- [How CO-RE relocates fields and probes features at load](https://example.com/ebpf-field-guide/portability-and-toolchain/btf-and-core/probing/)
- [Choosing between libbpf (C), Aya (Rust), and cilium/ebpf (Go)](https://example.com/ebpf-field-guide/portability-and-toolchain/btf-and-core/recap/)

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