Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Kernel Portability with CO-RE

BPF CO-RE (Compile Once, Run Everywhere) enables eBPF programs to adapt to differences in kernel type layouts at load time. For an introduction to its design and components, see Andrii Nakryiko’s BPF CO-RE overview. This chapter covers CO-RE support in Rust and Aya and a practical workflow for using Rust with C shims.