Skip to content

Extend Linux perf jitdump functionality #13540

Closed

Description

@sdmaclea

#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 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

  1. changed the title [-]Extend Linux perf jitdump finctionality[/-] [+]Extend Linux perf jitdump functionality[/+] on Oct 7, 2019
  2. transferred this issue fromdotnet/coreclron Jan 31, 2020
  3. added this to the 5.0 milestone on Jan 31, 2020
  4. added
    tracking
    on May 6, 2020
  5. modified the milestones: 5.0, Future on May 6, 2020
  6. modified the milestones: Future, 6.0.0 on Jul 8, 2020
  7. removed
    tracking
    on Oct 14, 2020
  8. modified the milestones: 6.0.0, Future on Mar 12, 2021
  9. ghost locked as resolved and limited conversation to collaborators on Jul 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-Diagnostics-coreclrenhancementhelp wantedos-linux

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions