Skip to content

Add ability to go from source view location to assembly view location #5619

@eqrion

Description

@eqrion

At least for the iongraph display, it'd be really nice to be able to click on a node and see the corresponding disassembly of the instruction.

Right now you can sometimes correlate the sample counts and guess, but that breaks down if the samples for a single source location are distributed amongst multiple machine instructions.

In the frontend, we have line number's in the source view (iongraph interprets them as node IDs, but it works regardless). I don't think there is a way to go from 'line number' to assembly offset in the frontend. It doesn't seem like the samply API has something we could use for this (but I may be wrong).

cc @mstange

┆Issue is synchronized with this Jira Task

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions