Jump to ratings and reviews
Rate this book

Linux Observability with BPF: Advanced Programming for Performance Analysis and Networking

Rate this book

Build your expertise in the BPF virtual machine in the Linux kernel with this practical guide for systems engineers. You’ll not only dive into the BPF program lifecycle but also learn to write applications that observe and modify the kernel’s behavior; inject code to monitor, trace, and securely observe events in the kernel; and more.

Authors David Calavera and Lorenzo Fontana help you harness the power of BPF to make any computing system more observable. Familiarize yourself with the essential concepts you’ll use on a day-to-day basis and augment your knowledge about performance optimization, networking, and security. Then see how it all comes together with code examples in C, Go, and Python.

Write applications that use BPF to observe and modify the Linux kernel’s behavior on demand Inject code to monitor, trace, and observe events in the kernel in a secure way—no need to recompile the kernel or reboot the system Explore code examples in C, Go, and Python Gain a more thorough understanding of the BPF program lifecycle

281 pages, Kindle Edition

Published November 14, 2019

36 people are currently reading
119 people want to read

About the author

David Calavera

1 book1 follower

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
15 (38%)
4 stars
11 (28%)
3 stars
10 (25%)
2 stars
3 (7%)
1 star
0 (0%)
Displaying 1 - 3 of 3 reviews
Profile Image for Simone.
5 reviews95 followers
July 28, 2021
A fair introduction to eBPF.

It is however more focused on BCC rather than plain C eBPF programs and it doesn't cover what you need to know to develop and compile those. BTF it is not really covered, only referred to as debug information, not a single mention to the fact that it enables CORE and how, that is basically the future of BPF. A few inaccuracies here and there. The only detailed section is the one about XDP.
47 reviews2 followers
November 19, 2023
Good info but lots of typos in first edition.
Profile Image for Joshua Reuben.
19 reviews6 followers
August 17, 2024
A tough read. This is a complicated tech stack with a high barrier of entry in a nieche area. The book gives a solid overview of the programming model and the use cases.
Displaying 1 - 3 of 3 reviews

Can't find what you're looking for?

Get help and learn more about the design.