KDAB / hotspot

The Linux perf GUI for performance analysis.
4.06k stars 250 forks source link

fix wrong source code shown #599

Closed lievenhey closed 7 months ago

lievenhey commented 7 months ago

The vectors containing the source code are not reset correctly. This results one some old code being shown. This patch resets them correctly.

fixes: #577

milianw commented 7 months ago

I'm going to pick a different approach

GitMensch commented 7 months ago

At least with the new approach-the problem persists. I can now reproduce: disassembly shown, then showing a different disassembly - the code pane was adjusted to show other code, but the code lines shown mismatches the cycles and the disassembly. If I restart hotspot and show the disassembly of that other function "directly" then there's a perfect match.

I suggest to reopen the originating issue....