This talk will briefly introduce you to what BPF is? Why is it useful? How to use it for various performance analysis?
BPF introduces an in-kernel JIT VM to do kernel programming. This provides a safe, efficient and easy way for programmers to develop new kernel functions. Besides that, we can also collect much useful information from a living system without recompiling kernel and applications. Moreover, due to its low impact to system, the on-line performance monitoring is possible. This means we don’t need to reproduce the problem and then add more logs to collect clues to solve the problem. We can have the information once the problems happen. The internal behaviors of kernel and applications can be seen vividly with BPF.
About Mars Cheng
Mars Cheng likes to learn anything about programming, especially those related to Linux. He found BPF in 2019 and loved the ideas from the bottom of his heart. He believes BPF-related technologies will be the main approach to do Linux development in the future.