When you compile a C program for profiling with gcc -pg , if there is no call to any userdefined function from main function, it is not giving call-graph data. I got this problem with MPI(message passing interface) application on Sun Ultra Sparc machines. What could be the problem ? Chaitanya