I use vtune 9.1.0 in Fedora 7. My C++project is compiled by ICC. I want to see hotspots with its C++ sourcecode, but I can only see disassembly code.whether I can see C++ source code when select "display hotspots for selected item"? how can I do this? Whether vtune only support C source code?
1 解答
Quoting - azaonline
I use vtune 9.1.0 in Fedora 7. My C++project is compiled by ICC. I want to see hotspots with its C++ sourcecode, but I can only see disassembly code.whether I can see C++ source code when select "display hotspots for selected item"? how can I do this? Whether vtune only support C source code?
链接已复制
3 回复数
Quoting - azaonline
I use vtune 9.1.0 in Fedora 7. My C++project is compiled by ICC. I want to see hotspots with its C++ sourcecode, but I can only see disassembly code.whether I can see C++ source code when select "display hotspots for selected item"? how can I do this? Whether vtune only support C source code?
Quoting - tim18
The compilation must include -g option. In that case, if VTune analyzer doesn't find the source file, it should pop up a window asking for the path. It could get complicated if your source is spread among several directories, particularly if you have set ipo.
done! thanks a lot!
