Received: from [140.186.70.92] (port=43951 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PznRY-0001In-Jh for qemu-devel@nongnu.org; Wed, 16 Mar 2011 05:55:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PznRX-0001ql-7Z for qemu-devel@nongnu.org; Wed, 16 Mar 2011 05:55:04 -0400 Received: from web63203.mail.re1.yahoo.com ([69.147.97.13]:25095) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PznRX-0001qg-2S for qemu-devel@nongnu.org; Wed, 16 Mar 2011 05:55:03 -0400 Message-ID: <87254.23477.qm@web63203.mail.re1.yahoo.com> Date: Wed, 16 Mar 2011 02:55:00 -0700 (PDT) From: maheen butt MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-579352615-1300269300=:23477" Subject: [Qemu-devel] QEMU-user mode profiling List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --0-579352615-1300269300=:23477 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable hiI want to profile mips ELF with the help of QEMU so that I can find more = time consuming portion of the code. does QEMU user mode emulation provide s= uch feature?=A0I did a small experiment. I configure QEMU with --enable-gpr= of and makeafterwards i gave following command$qemu-mips hw_mipswhere hw_mi= ps is mips executable.=A0a gmon.out file is generated as a result of above = command =A0I considered that it was same file generated by gprof =A0so I ga= ve this command$ gprof hw_mipsand got error "gprof: file `gmon.out' has uns= upported version 16777216"is gmon.out generated by qemu not same as gprof's= gmon.out?=0A=0A=0A --0-579352615-1300269300=:23477 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
hi
I want to profile mips ELF w= ith the help of QEMU so that I can find more time consuming portion of the = code. does QEMU user mode emulation provide such feature? 
I did a small experiment. I configure QEMU with --enable-gprof and make<= /div>
afterwards i gave following command
$qemu-mips hw_mips<= /div>
where hw_mips is mips executable. 
a gmon.out file= is generated as a result of above command  
I considered th= at it was same file generated by gprof  so I gave this command
$ gprof hw_mips
and got error "gprof: file `gmon.out' has unsu= pported version 16777216"
is gmon.out generated by qemu not same = as gprof's gmon.out?

=0A=0A --0-579352615-1300269300=:23477--