Walking native stacks in BPF without frame pointers
- Track: Kernel devroom
 - Room: UA2.220 (Guillissen)
 - Day: Sunday
 - Start: 12:00
 - End: 12:25
 - Video only: ua2220_guillissen
 - Chat: Join the conversation!
 
Implementing profilers and tracers in BPF offers a high degree of flexibility and allows for tools that have lower overhead and can make them suitable for production usage. BPF has a helper to unwind native stacks with frame pointers that works great. Unfortunately, most Linux distros and compilation pipelines omit frame pointers. We've built a BPF program that uses DWARF-unwind information to walk native stacks without frame pointers in BPF. We've integrated it into our continuous profiler project, Parca Agent.
Speakers
| Vaishali Thakkar | |
| Javier Honduvilla Coto |