- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am using VTune 2018 to profile my code but I am unable to see the source code, I can only see the machine code.
Here is my setup:
- Ubuntu 16.04.4 LTS
- gcc 5.4.0 with cmake 3.5.1 (not sure if it is relevant)
- gcc flags: -O2 -g -DNDEBUG
I get the following collection log:
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What module is the function of interest from? Does the module have debugging information?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Denis,
Yes the module is part of our codebase and yes it is compiled with debug symbols as described:
-O2 -g -DNDEBUG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Finally found the issue, it actually was not built with debug symbols, I just found out that someone has forced a release build internally in the CMakeLists.txt.
Thanks Again,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello, I have the same problem, could you tell me the steps to solve it? Thanks a lot
![](/skins/images/7FC17B7B85029576C25F1E43CE255B51/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page