I am trying to profile the cost of the component in apache using vtune today. I am having some problem to generate debug information (line number and symbol link) for vtune. basically when i do the call graph activity, vtune shows "function instrument to main modules was skipped". Looks like it can't go to function level, and when i do sampling activity, if i want it to display sources for selected hotspots, then it will say " [source view] warning -Line Number information is not available for this range. only disassembly view is availalbe."
I install apache as follows, by default, the downloaded source code and installation directories are different of course as follows:
$ cd $BENCH/src/httpd-2.2.11 $ CFLAGS="-g -O3 -march=nocona" ./configure \ > --enable-ssl --enable-so --with-mpm=worker --prefix=$BENCH/apache2 $ make $ make install
i am not sure whether the configure file helps me to add debug information or not. Or vtune can't find the source code?
does anybody know whether there is a way for me to tell vtune explicity where the source code are?
another question is for big applications like apache, there are a few source code directories.
I don't know what i can do to make vtune do instrument in the function level. pls help!