Chapter 16. Hypervisors
This chapter discusses the use of BPF tools with virtual machine hypervisors for hardware virtualization, of which Xen and KVM are popular examples. BPF tools with OS-level virtualization—containers—was discussed in the previous chapter.
Learning Objectives:
Understand hypervisor configurations and BPF tracing capabilities
Trace guest hypercalls and exits, where possible
Summarize stolen CPU time
This chapter begins with the necessary background for hardware virtualization analysis, describes BPF capabilities and strategies for the different hypervisor situations, and includes some example BPF tools.
16.1 Background
Hardware virtualization creates a virtual machine (VM) that can run an entire operating system, including ...
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.