[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
- [Qemu-devel] [PATCH v2 1/3] trace: teach lttng backend to use format strings, (continued)
[Qemu-devel] [PATCH v2 2/3] trace: add some tcg tracing support, Alex Bennée, 2014/07/15