This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
gprof: gmon.out file is missing call-graph data (I'm using -pg)
- From: Zohar Levi <zoharl3 at yahoo dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Sun, 4 Jun 2006 08:39:52 -0700 (PDT)
- Subject: gprof: gmon.out file is missing call-graph data (I'm using -pg)
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