Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 5.6k
Extend Linux perf jitdump functionality #13540
Copy link
Copy link
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
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)
#13462 Added basic support for generating the Linux
perf jitdumpformat. The initial implementation did not include support for adding:JIT_CODE_DEBUG_INFO. Provide assembly to line number info to improve annotation.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 jitdumpsupport.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_LOADrecordThe
FEATURE_GDBJITprobably already needs similar info to construct the elf files it passes to gdb.src/vm/gdbjit.cppmay be instructive.