Learning eBPF: Maps, Ring Buffers and Output
I set the stage for learning eBPF. As mentioned in the previous post, eBPF is a technology that allows us to run code in the kernel. This is a compelling technology, but it comes with a few limitations. One of them is that we can’t use the standard output to print messages. At least not directly. Let’s explore how we can do this. Why can’t I use the standard input/output? Let’s look at this picture The eBPF programs are executed in the kernel....