Chapter 2. Technology Background

Chapter 1 introduced various technologies used by BPF performance tools. This chapter explains them in more detail: their histories, interfaces, internals, and use with BPF.

This is the most technically deep chapter in the book, and for the sake of brevity, it assumes some knowledge of kernel internals and instruction-level programming.1

1 To learn necessary kernel internals, refer to any guide that covers syscalls, kernel and user mode, tasks/threads, virtual memory, and VFS, such as [Gregg 13b].

The learning objectives are not to memorize every page in this chapter, but for you to:

  • Know the origins of BPF, and the role of extended BPF today

  • Understand frame pointer stack walking and other techniques

  • Understand ...

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.