This repo was originally created with the code samples to accompany my talk "The Beginners Guide to eBPF Programming" given at eBPF Summit 2020. Since then I've created several other talks and code samples, and written a book on the topic. If you want to learn about eBPF, I hope you'll find some of these resources useful.
- This repo lists slides, example code, and recordings of talks that I've given that will help you get started with eBPF.
- To read a high-level introduction to the topic, check out my report "What is eBPF".
- If you want to dive into eBPF programming, "Learning eBPF" might be the book you're looking for.
"What is eBPF?" and "Learning eBPF" are both available for download from Isovalent or with your subscription to O'Reilly's learning platform. You can buy "Learning eBPF" from any good bookstore (support your local bookshop by ordering it there!) If you're looking for the example code for "Learning eBPF", you'll find it over in this repo.
-
The Beginners Guide to eBPF Programming as seen at eBPF Summit 2020
-
The Beginners Guide to eBPF Programming in Go
-
At eBPF Summit 2021 I wrote an eBPF load balancer from scratch - this is all in C
-
For Cloud Native eBPF Day I've written some examples showing some of the ways eBPF programs can get involved with networking
-
eBPF Superpowers presentation at DockerCon
-
Packet counting example added for O'Reilly Superstream "What's next for Infrastructure and Operations?"
- Examples: ebpf.py & packet.py