Lab
Learning eBPF Tutorial
Hands-on Lab for Liz Rice's Tutorial: Getting Started with eBPF
If you enjoy this tutorial and would like to dive deeper, you may like to consider Liz's book published by O'Reilly, Learning eBPF. You can also download an electronic copy from Isovalent's web site.
eBPF Hello World
eBPF Hello World
eBPF Maps
Use eBPF Maps to share information between kernel and user space
bpftool and bytecode
Use
bpftoolto see information about an eBPF program loaded into the kernel - even its bytecodebpftool and maps
Use
bpftoolto see manage the information in eBPF mapsXDP programs
Attach an eBPF program to a network interface and use it to drop packets
The eBPF Verifier
Experiment with eBPF code that the Verifier won't accept
Congratulations!
You've completed this tutorial