You should be able to just use the '-g' option to include debug information. Have you tried that?
Message Edited by dlanders on 04-27-2004 04:17 PM
My gcc version:
[root@SDV900 root]# gcc -v
Reading specs from /usr/lib/gcc-lib/ia64-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.2 2.96-118.7.2)
I tried to recompile the program with -g like following:
gcc -g test.c -o test
However, I still get the same result.
Do youhave any idea for that?
Basically, your application isn't doing enough to be noticed. :-} That is, it executes so fast, that the only samples collected in the whole process are in the kernel and runtime library. You can verify this by examining the output of 'vtl view' and noticing that the only modules reported for the application are vmlinux and ld-2.5.5.so, of something similar. So, actually, the analyzer is telling you that there are no samples to be displayed for the module you are specifying.
If you enhance your code to something like: