3 ms·
Relevant discussion on profiling without frame pointers: https://twitter.com/halvarflake/status/1577644229853151233 https://twitter.com/halvarflake/status/15776
by pjc50 4y ago
Relevant discussion on profiling without frame pointers: https://twitter.com/halvarflake/status/1577644229853151233 https://twitter.com/halvarflake/status/1577644229853151233 / https://prodfiler.com/blog/introducing-prodfiler/ https://prodfiler.com/blog/introducing-prodfiler/ via the "prodfiler" tool.
- irogers 4y agoTwitter: "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 :)