Author: Wenbo Zhang (Linux Kernel Engineer of the EE team at PingCAP) Transcreator: Caitin Chen; Editor: Tom Dewan Distributed clusters might encounter performance problems or unpredictable failures, especially when they are running in the cloud. Of all the kinds of failures, kernel failures may be the most difficult to analyze and simulate. A practical solution is Berkeley Packet Filter (BPF), a
![Why We Switched from BCC to libbpf for Linux BPF Performance Analysis | PingCAP](https://cdn-ak-scissors.b.st-hatena.com/image/square/b97ddbb1a4b1fcb05f1bc94000b852956febb64d/height=288;version=1;width=512/https%3A%2F%2Fstatic.pingcap.com%2Ffiles%2F2020%2F12%2Fbcc-vs-libbpf-bpf-performance-analysis.jpg)