The help documentation that you directed me to says that identifying a functionto view the source "double clickit to open the Source/Assemblywindow and analyze the source code".
"This works if the source code information is available!"
I compile my program's code with the options
Thatshould make the source code information availablesince that is howI compile my code when I want to use the debugger in gprof. It works! That is the option that I use. Now in one of the helpVTUNE AMPLIFIER listingsit says to only compile with the option -g.So what do I use?
I only compile on the command line, I do not use a Makefile. Is this the option to make the source code information available. If not what do they want?I am using Linux Ubuntu 11.04.
Just use '-g' (which generates debugging information). The '-pg' option adds instrumentation for collecting profile information, which is not used by VTune. Adding the '-pg' option will also add some extra runtime overhead to the program.