---
title: "Glossary"
description: "The eBPF terms used across the guide, grouped by topic, each linked to the step that teaches it."
---

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

# Glossary

## Core

### eBPF

Extended Berkeley Packet Filter — an in-kernel sandboxed VM that runs verified, JIT-compiled bytecode on Linux events without modifying kernel source or apps.

Taught in: [Sandboxed kernel programs](https://example.com/ebpf-field-guide/core-architecture/kernel-and-vm/ebpf/)

### user space

Unprivileged memory domain where applications and daemons run; must cross into kernel space via syscalls to interact with hardware or kernel state.

Taught in: [User space vs kernel space](https://example.com/ebpf-field-guide/core-architecture/kernel-and-vm/boundary/)

### kernel space

Privileged ring-0 execution space owning CPU scheduling, virtual memory, NIC drivers, and the networking stack.

Taught in: [User space vs kernel space](https://example.com/ebpf-field-guide/core-architecture/kernel-and-vm/boundary/)

### loadable kernel module

Legacy C code loaded directly into Linux ring 0 (LKM). Fast, but unchecked pointers cause kernel panics and updates break across versions.

Taught in: [Why kernel modules hurt](https://example.com/ebpf-field-guide/core-architecture/kernel-and-vm/modules/)

### virtual machine

The eBPF register machine: eleven 64-bit registers (R0–R10), a strict 512-byte stack, and bounded helper/kfunc calls.

Taught in: [Inside the eBPF machine](https://example.com/ebpf-field-guide/core-architecture/kernel-and-vm/the-vm/)

### eBPF verifier

In-kernel static analyzer that walks every control-flow path at load time to prove termination, memory bounds, and pointer safety.

Taught in: [Proven safe before running](https://example.com/ebpf-field-guide/core-architecture/kernel-and-vm/verifier/)

### JIT compiler

Translates verified eBPF bytecode into native x86-64, ARM64, or RISC-V machine code for nanosecond-scale execution.

Taught in: [Compiled to native machine code](https://example.com/ebpf-field-guide/core-architecture/kernel-and-vm/jit/)

### BPF helpers

Stable kernel-exposed functions callable by eBPF programs (e.g., bpf_ktime_get_ns, bpf_map_lookup_elem, bpf_get_current_cgroup_id).

Taught in: [Inside the eBPF machine](https://example.com/ebpf-field-guide/core-architecture/kernel-and-vm/the-vm/)

### kfuncs

Modern BTF-typed kernel functions exposed dynamically to eBPF programs without adding permanent UAPI helper IDs.

Taught in: [Inside the eBPF machine](https://example.com/ebpf-field-guide/core-architecture/kernel-and-vm/the-vm/)

### bpf_link

File-descriptor-backed abstraction binding an eBPF program to a hook; automatically detaches on process exit unless pinned in bpffs.

Taught in: [Privileges and FD lifecycles](https://example.com/ebpf-field-guide/core-architecture/kernel-and-vm/lifecycle/)

## Maps

### BPF maps

Kernel key-value and streaming data structures (HASH, ARRAY, PERCPU, RINGBUF, PROG_ARRAY) sharing state across hooks and user space.

Taught in: [Programs forget on exit](https://example.com/ebpf-field-guide/core-architecture/maps-and-data/stateless/)

### PERCPU_ARRAY / LRU_PERCPU_HASH

Lock-free per-CPU map variants giving every core its own memory slot, eliminating atomic cache-line bouncing on 64–128 core NUMA hosts.

Taught in: [Lock-free per-CPU maps](https://example.com/ebpf-field-guide/core-architecture/maps-and-data/per-cpu/)

### BPF RingBuf

Shared multi-producer, single-consumer circular buffer (Linux 5.8+) offering globally ordered, zero-extra-copy event streaming to user space.

Taught in: [Streaming events with RingBuf](https://example.com/ebpf-field-guide/core-architecture/maps-and-data/ringbuf/)

### tail calls

Control transfer via PROG_ARRAY maps chaining up to 33 eBPF programs without growing the 512-byte stack.

Taught in: [Tail calls, sockmaps & .rodata](https://example.com/ebpf-field-guide/core-architecture/maps-and-data/special/)

## Toolchain

### BTF

BPF Type Format — compact, deduplicated kernel type metadata exposed at /sys/kernel/btf/vmlinux so binaries know exact struct layouts.

Taught in: [BTF: the kernel describes itself](https://example.com/ebpf-field-guide/portability-and-toolchain/btf-and-core/btf/)

### CO-RE

Compile Once – Run Everywhere: Clang emits .BTF.ext field relocations and libbpf patches offsets at load time without Clang on target hosts.

Taught in: [Compile Once – Run Everywhere](https://example.com/ebpf-field-guide/portability-and-toolchain/btf-and-core/co-re/)

### BCC

BPF Compiler Collection — runtime-compilation framework shipping Clang/LLVM onto hosts. Great for debugging, heavy for production.

Taught in: [Why compiling on hosts hurts](https://example.com/ebpf-field-guide/portability-and-toolchain/btf-and-core/bcc-cost/)

### Aya

Pure-Rust eBPF library compiling both kernel and user space in Rust with native CO-RE support and no C toolchain dependency.

Taught in: [C libbpf, Rust Aya & Go ebpf](https://example.com/ebpf-field-guide/portability-and-toolchain/btf-and-core/ecosystem/)

## Networking

### sk_buff

Linux kernel socket buffer metadata struct allocated for each packet traversing the standard networking stack.

Taught in: [The Linux packet pipeline](https://example.com/ebpf-field-guide/networking-and-packet-path/networking-hooks/pipeline/)

### XDP

eXpress Data Path — ingress-only eBPF hook inside the NIC driver running before sk_buff allocation for 10M+ pps drops and redirects.

Taught in: [XDP at the NIC driver](https://example.com/ebpf-field-guide/networking-and-packet-path/networking-hooks/xdp/)

### TC

Traffic Control (cls_bpf / tcx) — symmetric ingress and egress eBPF hook with full sk_buff context, ideal for pod veth interfaces.

Taught in: [TC on ingress and egress](https://example.com/ebpf-field-guide/networking-and-packet-path/networking-hooks/tc-hooks/)

### Cilium

eBPF-native Kubernetes CNI replacing O(n) iptables chains with O(1) BPF hash maps and identity-aware network policy.

Taught in: [Cilium & replacing iptables](https://example.com/ebpf-field-guide/networking-and-packet-path/networking-hooks/cilium/)

### Hubble

Observability layer built on Cilium's eBPF datapath exporting L3/L4/L7 flow metadata and drop reasons.

Taught in: [Cilium & replacing iptables](https://example.com/ebpf-field-guide/networking-and-packet-path/networking-hooks/cilium/)

### DPDK

Data Plane Development Kit — user-space poll-mode NIC driver bypassing the Linux kernel entirely; invisible to kernel eBPF hooks.

Taught in: [DPDK & SR-IOV bypass the kernel](https://example.com/ebpf-field-guide/networking-and-packet-path/networking-hooks/bypass/)

### SR-IOV

Single Root I/O Virtualization — hands hardware virtual functions straight to VMs or pods; when paired with DPDK, bypasses kernel networking.

Taught in: [DPDK & SR-IOV bypass the kernel](https://example.com/ebpf-field-guide/networking-and-packet-path/networking-hooks/bypass/)

## Tracing

### uprobe

User-space probe attaching an eBPF program to a function entry in an app or shared library (such as OpenSSL SSL_write) via a breakpoint trap.

Taught in: [Hook the TLS boundary](https://example.com/ebpf-field-guide/networking-and-packet-path/tls-and-uprobes/uprobe/)

### uretprobe

Return probe firing when a user-space function returns (e.g., SSL_read exit to capture freshly decrypted inbound bytes).

Taught in: [Hook the TLS boundary](https://example.com/ebpf-field-guide/networking-and-packet-path/tls-and-uprobes/uprobe/)

### Kprobes

Dynamic kernel probes attaching to almost any kernel symbol; maximum reach, but fragile across kernel updates.

Taught in: [Kprobes: attach almost anywhere](https://example.com/ebpf-field-guide/tracing-security-and-overhead/tracing-and-lsm/kprobes/)

### Tracepoints

Static maintainer-defined hooks (softirq_entry, kfree_skb, mm_page_alloc) offering a stable ABI and zero cost when disabled.

Taught in: [Tracepoints: stable kernel ABI](https://example.com/ebpf-field-guide/tracing-security-and-overhead/tracing-and-lsm/tracepoints/)

### fentry

BTF-powered direct BPF trampoline (Linux 5.5+) that invokes eBPF on kernel function entry/exit much faster than kprobe traps.

Taught in: [Fentry & Fexit trampolines](https://example.com/ebpf-field-guide/tracing-security-and-overhead/tracing-and-lsm/fentry/)

### PMU

Hardware Performance Monitoring Unit exposed via perf_event_open to track CPU cycles, retired instructions (IPC), and L3 cache misses.

Taught in: [Perf events & hardware PMU](https://example.com/ebpf-field-guide/tracing-security-and-overhead/tracing-and-lsm/pmu/)

## Security

### eBPF LSM

Linux Security Module hooks (Linux 5.7+) letting eBPF synchronously allow or deny (-EPERM) kernel actions without TOCTOU races.

Taught in: [Synchronous security with LSM](https://example.com/ebpf-field-guide/tracing-security-and-overhead/tracing-and-lsm/ebpf-lsm/)

## Observability

### softirq

Deferred Linux kernel interrupt handler (NET_RX, NET_TX, RCU, TIMER, SCHED) whose cycles are billed to whichever process was preempted on that core.

Taught in: [The softirq accounting blind spot](https://example.com/ebpf-field-guide/tracing-security-and-overhead/measuring-overhead/blind-spot/)

### BPF_ENABLE_STATS

FD-scoped bpf() command enabling exact per-program run_time_ns and run_cnt without leaving global sysctl stuck on after a crash.

Taught in: [Scoped BPF_ENABLE_STATS accounting](https://example.com/ebpf-field-guide/tracing-security-and-overhead/measuring-overhead/bpf-stats/)

## Architecture

### rolling buffer

Size-capped on-host memory ring holding the most recent control-plane traffic (e.g., 120s) so pre-trigger context survives round trips.

Taught in: [Pre-trigger rolling buffer sizing](https://example.com/ebpf-field-guide/production-architecture/incident-capture/buffer-math/)

### HOLD

Coordinator command pinning peer hosts' rolling buffers before central evaluation finishes so root-cause evidence never ages out.

Taught in: [Detect locally, HOLD then CUT](https://example.com/ebpf-field-guide/production-architecture/incident-capture/hold-and-cut/)

### CUT

Coordinator command instructing each host agent to slice [t0 - before, t0 + after] as pcapng and upload it for correlated RCA.

Taught in: [Detect locally, HOLD then CUT](https://example.com/ebpf-field-guide/production-architecture/incident-capture/hold-and-cut/)

### TLA+

Formal specification language used with TLC to exhaustively verify all 37 incident-lifecycle states and 6 safety/liveness invariants.

Taught in: [Model-checking the lifecycle](https://example.com/ebpf-field-guide/production-architecture/incident-capture/tla-proof/)

Source: https://example.com/ebpf-field-guide/glossary/index.mdx
