| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
With this change and `perf record -g` I do get intact stack traces for profiles across C++ and Rust.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
rustflags = [ "-Cforce-frame-pointers=yes" ]Maybe we should pass this also on Windows?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Maybe we should pass this also on Windows?
Updated the change, setting `rustflags` irrespective of the platform.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
Thanks for looking into this - LGTM! (not triggering auto-submit in case @hans wants to take another look)
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Commit-Queue | +2 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Synchronize C++/Rust frame pointer enabling in compiler settings
Ensure that rustc produces frame pointers when the gn setting
enable_frame_pointers is on. This ensures that both compilers for C++
and Rust generate frame pointers and that the stack can be unwound. This
avoids losing cohesion in stack traces in profiling, in particular when
profiling code that crosses the C++/Rust language boundary.
Tested locally: with this change I get stack traces and unwound
stacks in profiling when recording with `perf record -g ...`.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |