Skip to content

JIT: annotate pseudo-edges in pgo schema and/or internal model #81638

Closed

Description

@AndyAyersMS

Sparse edge instrumentation will sometimes add pseudo-edges into the flow graph to provide a complete picture of flow. For instance, there are pseudo-edges from each return back to method start, and from finally exits back to the first block of the finally.

When reconstructing counts from the sparse edge instrumentation data, we need to match up schema flow edges with actual flow edges so we can propagate the counts. Ideally we'd be looking at the exact same flow graph and use the same edge enumeration technique, so we can just internally note which edges were pseudo-edges and so won't have an actual edge, but we might also want to annotate the schema entries so an external client could potentially do the same sort of reconstruction, or so we can sanity check that we have the same flow graph during reconstruction that we had during instrumentation.

Activity

  1. ghost added
    area-CodeGen-coreclr
    on Feb 4, 2023
  2. ghost added
    untriaged
    on Feb 4, 2023
  3. self-assigned this
    on Feb 4, 2023
  4. added this to the 8.0.0 milestone on Feb 4, 2023
  5. ghost removed
    untriaged
    on Feb 4, 2023
  6. AndyAyersMS commented on Feb 9, 2023

    @AndyAyersMS
    MemberAuthor

    Pseudo-edges are now identified in the internal model via #81738. They are not externalized (persisted to the schema) but not clear if that's important yet.

  7. AndyAyersMS commented on Mar 24, 2023

    @AndyAyersMS
    MemberAuthor

    Not clear we'll need this in 8.0 so moving to future.

  8. modified the milestones: 8.0.0, Future on Mar 24, 2023
  9. AndyAyersMS commented on Feb 14, 2025

    @AndyAyersMS
    MemberAuthor

    Haven't found a need for this yet, so closing.

  10. locked and limited conversation to collaborators on Mar 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area-CodeGen-coreclr

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions