qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2 3/3] trace: instrument and trace tcg tb flush


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH v2 3/3] trace: instrument and trace tcg tb flush activity
Date: Tue, 15 Jul 2014 21:29:44 +0100

On 15 July 2014 21:11, Paolo Bonzini <address@hidden> wrote:
> Il 15/07/2014 16:16, Alex Bennée ha scritto:
>
>>> > I think this is premature optimization...
>>
>> How do you mean? It's not really an optimization as much as an
>> instrumentation. It should compile away to nothing if you don't have
>> tracing enabled in your build.
>
>
> I think it's not a big deal if you always enable the counting, and perhaps
> show them in "info jit".

We don't enable any other tracepoints by default; why would
we want to enable just this one which is in a hot codepath??

-- PMM



reply via email to

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