---
title: "BTF: the kernel describes itself"
---

> 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: the kernel describes itself

[BTF](https://example.com/ebpf-field-guide/glossary/#btf) (BPF Type Format) embeds a deduplicated, compact type graph of every kernel struct, enum, and function directly inside the running kernel at `/sys/kernel/btf/vmlinux`.

Instead of installing 100 MB of kernel headers, a developer generates one single `vmlinux.h` file at build time and lets the target kernel report its exact layout at load time.

> **Key idea:** BTF turns the running Linux kernel into its own authoritative schema registry—always 100% in sync with vendor backports.

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