profiler icon indicating copy to clipboard operation
profiler copied to clipboard

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

Open eqrion opened this issue 3 months ago • 0 comments

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

eqrion avatar Sep 19 '25 19:09 eqrion