Advanced BPF Profiling Techniques - How to Escape the Curse of NMI and Fetch ELF Contents at Runtime
Linux Plumbers Conference via YouTube
Build AI Apps with Azure, Copilot, and Generative AI — Microsoft Certified
Get 20% off all career paths from fullstack to AI
Overview
AI, Data Science & Cloud Certificates from Google, IBM & Meta — 40% Off
One plan covers every Professional Certificate on Coursera. 40% off Coursera Plus Annual.
Unlock All Certificates
Explore advanced BPF profiling techniques that overcome the limitations of Non-Maskable Interrupt (NMI) contexts and enable runtime ELF content fetching in this 38-minute conference talk from the Linux Plumbers Conference. Learn how to move beyond basic BPF-based profilers by mastering techniques for reliable user data capture that bypass NMI and non-sleepable context restrictions. Discover recent advancements in the BPF tracing domain that allow programs to escape NMI context limitations and perform reliable user memory reading in sleepable BPF mode. Understand how to fetch thread-local variable contents at runtime without upfront preprocessing by dynamically retrieving ELF binary contents on demand, opening new possibilities for sophisticated profiling applications.
Syllabus
Advanced BPF profiling techniques: how to escape the curse of NMI and fetch ELF... Andrii Nakryiko
Taught by
Linux Plumbers Conference