You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Mono JIT] Extend Linux perf jitdump functionality #36774
mono/mono#17024 A similar improvement as coreclr is needed. The following is copied from #13540
Added basic support for generating the Linux perf jitdump format. The initial implementation did not include support for adding:
Debug info - JIT_CODE_DEBUG_INFO. Provide assembly the line number info to improve annotation.
Unwinding info - JIT_CODE_UNWINDING_INFO. Adds dwarf unwind info. This allows/improves recording with the --callgraph dwarf option.
Consider adding these records to improve value of perf jitdump support.
Implementation Notes:
JIT_CODE_DEBUG_INFO & JIT_CODE_UNWINDING_INFO each apply to the next JIT_CODE_LOAD record. This means to properly support multithreading, the information needs to be provide when generating the JIT_CODE_LOAD record
The FEATURE_GDBJIT probably already needs similar info to construct the elf files it passes to gdb. src/vm/gdbjit.cpp may be instructive.
Activity
SamMonoRT commentedon Jun 10, 2021
Low priority - Moving to 7.0.0
SamMonoRT commentedon May 9, 2022
We'll not get to fixing this. Closing this issue for now.
fanyang-mono commentedon Jun 12, 2023
JIT_CODE_DEBUG_INFOwas added by #85107. ButJIT_CODE_UNWINDING_INFOhasn't been added yet.steveisok commentedon Jun 28, 2024
It's highly unlikely we will be able to get to this. Closing.