Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)

Source code absent

Matt_S_
Beginner
347 Views

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
347 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")

0 Kudos
Matt_S_
Beginner
347 Views

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

0 Kudos
Reply