Source code absent

Source code absent

I'm trying to follow the VTune tutorial provided by Intel, but I'm running into some differences that I can't figure out. I created a project and selected my executable, a.out, as my application. When I run the Basic Hotspots analysis and double click on my function of interest in the Bottom-up tab, it opens a tab titled, a.out, which only contains the assembly of my code. The Source and Assembly buttons in the top left of the window are grey and unclickable. Did I set the project up wrong? Any idea why the source code doesn't show up?

Thanks in advance!

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Did you compile and link with the -g option, to include debug info?  (I am assuming this is Linux* since you referenced "a.out")

Regards,
MrAnderson

Mr. Anderson, you are the one! That did the trick, thank you very much.

Leave a Comment

Please sign in to add a comment. Not a member? Join today