hotspot icon indicating copy to clipboard operation
hotspot copied to clipboard

Disassembly view not working

Open amotzop opened this issue 1 year ago • 2 comments
trafficstars

I'm trying to use the AppImage1.5.1 version (on the Ubuntu 24.04 release). In order to make it work I had to run it with QT_QPA_PLATFORM=wayland, otherwise it doesn't launch. But when I open it there is no disassembly view and every option related to it is grayed out and not clickable.

Screenshots If applicable, add screenshots to help explain your problem. disassembly_option_on_function_missing disassembly_view_missing

Version Info (please complete the following information):

  • Linux Kernel version: 6.8.0
  • perf version: 6.8.8
  • hotspot version (appimage? selfcompiled?): AppImage v1.5.1

amotzop avatar Aug 06 '24 16:08 amotzop

The disassembly view is only visible after you use it for the first time. To do so you need to right click a symbol, for example in caller/callee or the flamegraph and use the Disassembly feature there.

GitMensch avatar Aug 06 '24 19:08 GitMensch

Oh, didn't see that. But it seem to only work for the "main" function, and I don't see any percentages attributed to any assembly opcode (the "cycles:P" column is empty) (using perf annotate doe's give some opcodes high percentages, but is less readable than hotspot's output)

amotzop avatar Aug 06 '24 20:08 amotzop

Is this a variant of https://github.com/KDAB/hotspot/issues/671 maybe? Otherwise, can you share some code and show us how to reproduce the issue from your last comment?

milianw avatar Sep 02 '24 06:09 milianw

closing as duplicate for now, please reopen if this is something else

milianw avatar Sep 02 '24 08:09 milianw