[Top][All Lists]

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

Re: [Qemu-devel] How to do qemu profiling?

From: Aurelien Jarno
Subject: Re: [Qemu-devel] How to do qemu profiling?
Date: Tue, 22 Mar 2011 07:55:25 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

On Fri, Mar 11, 2011 at 03:16:27PM +0530, मनीष शर्मा  wrote:
> Hi All,
> To enable profiling of qemu, I used the option "-pg". while compiling I got
> following error.
>   CC    arm-softmmu/arch_init.o
>   CC    arm-softmmu/cpus.o
>   CC    arm-softmmu/monitor.o
>   CC    arm-softmmu/cpu-exec.o
> gcc: -pg and -fomit-frame-pointer are incompatible
> make[1]: *** [cpu-exec.o] Error 1
> make: *** [subdir-arm-softmmu] Error 2
> So I removed the -fomit-frame-pointer, the code got compiled. but qemu
> doesnt run. It got hanged before loading the kernel image.
> Any help is appreciated, I need to profile the qemu code for performance
> improvement.

You can pass --enable-gprof to configure, it should do the right thing.

Aurelien Jarno                          GPG: 1024D/F1BCDB73
address@hidden                 http://www.aurel32.net

reply via email to

[Prev in Thread] Current Thread [Next in Thread]