If this is your first time working with eBPF, I strongly recommend reading What is eBPF or Introduction to eBPF first first. Once you’ve got the basics, check out Setting up eBPF Development Environment to get your tools ready.
In this article, we are going to learn what tracepoints are, how tracepoints works, writing an eBPF program and loading it with bpftool
. Buckle up, we’re going on a technical ride into the kernel.