gprof: gmon.out file is missing call-graph data (I'm using -pg)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux