gprof: gmon.out file is missing call-graph data with gcc -static choice ??

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

 



why if I compile like
$ gcc -v -g -pg hello_world.c
and my gprof told me:
gprof: gmon.out file is missing call-graph data


but 
$ gcc -static -v -g -pg hello_world.c
works well,
and I can see the gprof result.

I use RH Corp2.1
is there anything wrong ?

Jerry



_______________________________________________
Redhat-devel-list mailing list
Redhat-devel-list@redhat.com
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

[Index of Archives]     [Kernel Newbies]     [Red Hat General]     [Fedora]     [Red Hat Install]     [Linux Kernel Development]     [Yosemite News]

  Powered by Linux