Introduction In this post, we will learn about portable or relocatable eBPF programs. You might wonder, can we not just copy our compiled program to another machine with the same CPU architecture and run it like any other program? Well, usually not. eBPF programs are more unique and rightfully so. They run directly in the kernel space and miss out on some of the help and abstractions that normal programs benefit from.| thegraynode.io
Introduction In this post we will write the user space part of our eBPF program, flat to calculate and display the network latency using the data we gather in the kernel space program. Make sure to check out the previous posts to be able to follow the details of this article. eBPF primer Setup an eBPF Development Environment Building an Efficient Network Flow Monitoring Tool with eBPF - Part 1 Network Headers Building an Efficient Network Flow Monitoring Tool with eBPF - Part 2 I have made so...| thegraynode.io
Introduction In this post we will pick up where we left off and write the backend or kernel space eBPF code for our program, flat to monitor the network latency in a very efficient way. Make sure to check the previous posts to get up to speed with what we are about to build. eBPF primer Setup an eBPF Development Environment Building an Efficient Network Flow Monitoring Tool with eBPF - Part 1 Network Headers The Big Picture As described in part 1 of this series, our kernel space code needs to...| thegraynode.io