6 ms·
Twitter: "No need to recompile with frame pointers." Web page: "always-on profiling powered by eBPF technology." BPF stack traces are gathered using frame poi
by irogers 4y ago
Twitter: "No need to recompile with frame pointers."
Web page: "always-on profiling powered by eBPF technology."
BPF stack traces are gathered using frame pointers:
https://github.com/torvalds/linux/blob/master/kernel/bpf/stackmap.c#L426 https://github.com/torvalds/linux/blob/master/kernel/bpf/sta...
https://github.com/torvalds/linux/blob/master/arch/x86/events/core.c#L2880 https://github.com/torvalds/linux/blob/master/arch/x86/event...
- pjc50 4y agoSomeone from prodfiler appears to be explaining in this thread https://news.ycombinator.com/item?id=34806693 https://news.ycombinator.com/item?id=34806693
- irogers 4y agoFor every running application turn DWARF data into BPF maps. Does this scale?
- javierhonduco 4y agoAs surprising as it seems, it does! My colleague and I spoke about this in our project in FOSDEM https://fosdem.org/2023/schedule/event/walking_stack_without_frame_pointers/ https://fosdem.org/2023/schedule/event/walking_stack_without.... Let us know if you have any questions or feedback :)