Chapter 4. BCC

The BPF Compiler Collection (BCC; sometimes written as lowercase bcc after the project and package names) is an open source project that contains a compiler framework and libraries for building BPF software. It is the main front-end project for BPF, supported by the BPF developers, and is usually where the latest kernel tracing BPF additions are first used. BCC also contains more than 70 ready-to-run BPF performance analysis and troubleshooting tools, many of which are covered in this book.

BCC was created by Brenden Blanco in April 2015. Encouraged by Alexei Starovoitov, I joined the project in 2015 and became a major contributor of performance tools, documentation, and testing. There are now numerous contributors, and BCC is ...

Get BPF Performance Tools now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.