- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I should have reminded that -g sets -O0 when no -O is given, so it is usual to specify the desired level, such as -O2, when building for VTune.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page