Appendix C. BCC Tool Development

This appendix summarizes BCC tool development using examples and is an extension of Chapter 4. This is optional content for those readers who are interested. Chapter 5 covers how to develop tools in bpftrace, a higher-level language that is expected to be sufficient and preferred in many cases. Also see Chapter 18 for a discussion on minimizing overhead, which is common to both BCC and bpftrace tool development.

Resources

I created three detailed documents for learning BCC tool development and made them available for free as part of the BCC repository where they are online and maintained by other contributors. They are:

  • BCC Python Developer Tutorial: This contains more than 15 lessons for BCC tool development ...

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.