Community
Participate
Working Groups
At present, there is no good way to display performance output from perf for events that really pertain to assembly insns. For example, cache misses, branch misprediction, etc... are all events that one needs to look at both the C/C++ source lines and the instructions that are generated by the compiler. Perf currently shows the source line numbers that pertain to the data and when clicked will bring up the C/C++ Editor. Unfortunately, the C/C++ editor doesn't display disassembly. The only way to get this is to bring the debugger and then bring up the disassembly view. This is very awkward. What would be nice would be to have a view with mixed source and assembly and allow clicking on disassembly insns to point within that view. That would allow a user to pin-point insns that were causing the problem and then be able to verify a different C sequence might result in avoiding a particular insn or combination. Otherwise, the user would need to resort to the command line reporting tools to get the desired effect.
This has been reviewed and pushed https://git.eclipse.org/r/10242.