Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Matt_S_
Beginner
45 Views

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!

0 Kudos
2 Replies
David_A_Intel1
Employee
45 Views

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

Matt_S_
Beginner
45 Views

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

Reply