gprof: gmon.out file is missing call-graph data (I'm using -pg)
Zohar Levi
zoharl3@yahoo.com
Sun Jun 4 15:39:00 GMT 2006
I have this problem with gprof:
test.c:
-------
#include <stdio.h>
int main()
{
printf("hello world\n");
return 0;
};
makefile:
-----------
test: test.c
gcc -g -c test.c -pg
gcc -o test test.o -pg
when I run test it generates the gmon.out, but gprof
complains:
gprof: gmon.out file is missing call-graph data
Is there another maintained profiler?
Thanks
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the Gcc-help
mailing list