Skip to content
On this page

Resources

Source code

eBPF is always evolving, and obviously the kernel documentation is not following up. To get a better understanding of eBPF, you should always check out the kernel source code.

Don't panic. Linux source code is neat.

TIP

When reading lengthy code, an IDE really makes your life better. (I mainly use one to collapse the code I have comprehended.)

Personally I find github.dev satisfactory. For any GitHub URL, replacing github.com with github.dev does the job.

Kernel documentation

Despite being a little bit outdated, the kernel documentation documents the gist of some decisions and can give you a vague impression of how things work.

Third party documentation

Third party documents and blog are good. Things may change, but the code structure as well as the ABI usually stays the same.

Here is a non-exhaustive list, and you can always search for ones that suit your need.

eBPF programming