-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Closed
Labels
area-Diagnostics-coreclrenhancementProduct code improvement that does NOT require public API changes/additionsProduct code improvement that does NOT require public API changes/additionshelp wanted[up-for-grabs] Good issue for external contributors[up-for-grabs] Good issue for external contributorsos-linuxLinux OS (any supported distro)Linux OS (any supported distro)
Milestone
Description
#13462 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 to line number info to improve annotation. - Unwinding info -
JIT_CODE_UNWINDING_INFO. Adds dwarf unwind info. This allows/improves recording with the--callgraph dwarfoption.
Consider adding these records to improve value of perf jitdump support.
Implementation Notes:
-
JIT_CODE_DEBUG_INFO&JIT_CODE_UNWINDING_INFOeach apply to the nextJIT_CODE_LOADrecord. This means to properly support multithreading, the information needs to be provide when generating theJIT_CODE_LOADrecord -
The
FEATURE_GDBJITprobably already needs similar info to construct the elf files it passes to gdb.src/vm/gdbjit.cppmay be instructive.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-Diagnostics-coreclrenhancementProduct code improvement that does NOT require public API changes/additionsProduct code improvement that does NOT require public API changes/additionshelp wanted[up-for-grabs] Good issue for external contributors[up-for-grabs] Good issue for external contributorsos-linuxLinux OS (any supported distro)Linux OS (any supported distro)