Received: with ECARTIS (v1.0.0; list linux-mips); Fri, 28 Apr 2006 07:38:10 +0100 (BST) Received: from web53501.mail.yahoo.com ([206.190.37.62]:20378 "HELO web53501.mail.yahoo.com") by ftp.linux-mips.org with SMTP id S8133430AbWD1Gho (ORCPT ); Fri, 28 Apr 2006 07:37:44 +0100 Received: (qmail 39789 invoked by uid 60001); 28 Apr 2006 06:37:38 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; 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= ; Message-ID: <20060428063738.39787.qmail@web53501.mail.yahoo.com> Received: from [203.145.155.11] by web53501.mail.yahoo.com via HTTP; Thu, 27 Apr 2006 23:37:37 PDT Date: Thu, 27 Apr 2006 23:37:37 -0700 (PDT) From: Krishna Reply-To: dhunjukrishna@gmail.com Subject: problem with mips-linux-gnu-gprof To: Linux-MIPS MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-387950402-1146206257=:39523" Content-Transfer-Encoding: 8bit Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 11232 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: dhunjukrishna@yahoo.com Precedence: bulk X-list: linux-mips --0-387950402-1146206257=:39523 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi, 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, Krishna --------------------------------- Get amazing travel prices for air and hotel in one click on Yahoo! FareChase --0-387950402-1146206257=:39523 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit
Hi,
 
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,
Krishna


Get amazing travel prices for air and hotel in one click on Yahoo! FareChase --0-387950402-1146206257=:39523--