[Top] [All Lists]

problem with mips-linux-gnu-gprof

To: Linux-MIPS <>
Subject: problem with mips-linux-gnu-gprof
From: Krishna <>
Date: Thu, 27 Apr 2006 23:37:37 -0700 (PDT)
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024;; h=Message-ID:Received:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=x/oxWxGZjf14HvLm73M5vc+i2RKFTxS266NcHLZykmI2J7xOEYIwyF4sxoreRjSjAavHWl/bx00MA+JNWOorTlCpSoeVu3vZyFk3SdT33oUHZJIYbWCL+sYA6MhR2Y3O5k6ccxvzXP3UwjK3BG4RYPH8Ys2/yWcO9NWdUY21w9E= ;
Original-recipient: rfc822;
I have been trying to use mips-linux gprof from last few days. But not able to get profile data. Here what I did: 
1. cross compiled program for mips-linux as follows
$ mips-unknown-linux-gnu-gcc -o hello hello.c -g -pg -lc
2. then ran hello on target mips-linux system (BCM91480B) which generates gmon.out file.
3. copy gmon.out to the host.
4. run mips-linux gprof as follows 
$mips-unknown-linux-gnu-gprof hello
But i get the following error message
mips-unknown-linux-gnu-gprof: gmon.out file is missing call-graph data
Then I googled around and found someone suggesting to use lib_p.a during compilation. But i don't have that library.
Please someone help me to get rid of this problem.
Thanks and Regards,

Get amazing travel prices for air and hotel in one click on Yahoo! FareChase
<Prev in Thread] Current Thread [Next in Thread>
  • problem with mips-linux-gnu-gprof, Krishna <=