BPF Performance Tools : 9780136554820

BPF Performance Tools

Published by
Pearson Higher Ed USA
Available on demand
Title type
Title type
BPF and related observability tools give software professionals unprecedented visibility into software, helping them analyse operating system and application performance, troubleshoot code, and strengthen security. BPF Performance Tools: Linux System and Application Observability is the industry’s most comprehensive guide to using these tools for observability. Brendan Gregg, author of the industry’s definitive guide to system performance, introduces powerful new methods and tools for doing analysis that leads to more robust, reliable, and safer code.

This authoritative guide:
  • Explores a wide spectrum of software and hardware targets
  • Thoroughly covers open source BPF tools from the Linux Foundation iovisor project’s bcc and bpftrace repositories
  • Summarises performance engineering and kernel internals you need to understand
  • Provides and discusses 150+ bpftrace tools, including 80 written specifically for this book: tools you can run as-is, without
  • programming — or customise and develop further, using diverse interfaces and the bpftrace front-end
You’ll learn how to use BPF (eBPF) tracing tools to analyse CPUs, memory, disks, file systems, networking, languages, applications, containers, hypervisors, security, and the Linux kernel. You’ll move from basic to advanced tools and techniques, producing new metrics, stack traces, custom latency histograms, and more. It’s like having a superpower: with Gregg’s guidance and tools, you can analyse virtually everything that impacts system performance, so you can improve virtually any Linux operating system or application.
Table of contents
  • Part I: Technologies
  • 1. Introduction
  • 2. Technology Background
  • 3. Performance Analysis
  • 4. bcc5. bpftrace
  • Part II: Using BPF Tools
  • 6. CPUs
  • 7. Memory
  • 8. File Systems
  • 9. Disk I/O
  • 10. Networking
  • 11. Security
  • 12. Languages
  • 13. Applications
  • 14. Kernel
  • 15. Containers
  • 16. Hypervisors
  • Part III: Additional Topics
  • 17. Other BPF Tools
  • 18. Tips and Tricks
  • Appendices
  • A. bpftrace One-Liners
  • B. bpftrace Cheat Sheet
  • C. bcc Tool Development
  • Glossary
  • Bibliography