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 bpftool to see information about an eBPF program loaded into the kernel - even its bytecode

  • bpftool and maps

    Use bpftool to see manage the information in eBPF maps

  • XDP 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