I am new to VTune, so this may be a trivial question, but I have not been able to find anything in thedocumentationto help me solving me this problem.
When I try to do an hotspot analysis for the software I am developing in Release mode on an Intel 64 bit platform (OS is Windows 7), the symbols of the program are totally mangledand non correct and it is not possible to identify exactly what is the function/portion of the code associated to the hotspot. Here is the response file that collects the compiler options that I use in release mode for the hotspot analysis:
On the other hand, when the same code is compiled in debug mode, the symbols and the source code isaccurateand easily accessible.
Clearly it would beuselessif there was no way to perform a hotspot analysis in release mode, so I think that I am missing something. So here is my question:
Can somebody explain me (or point me to the right documentation which explains) how to perform an hotspot analysis of the optimized version of the code in release mode while preserving the access to the symbols and being able to link the hotspots to the source code?
Unfortunately in my case the function names are displayed but they are the wrong ones.
So, if I understand correctly,VTune Amplifier XE 2011is not able to perform correctly hotspot analysis in Release mode for C++ code.
This seems very extreme: essentially it precludes the usage of VTune for C++ code in all real life scenarios of practical interest since the workaround is not applicable in any serious project withoutgreatlydisrupting the development process. Please correct me if I am wrong.