qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: "Alex Bennée" <alex.bennee@linaro.org>
Cc: mohamad.gebai@gmail.com, qemu-devel@nongnu.org,
	stefanha@redhat.com, "Andreas Färber" <afaerber@suse.de>
Subject: Re: [Qemu-devel] [PATCH v2 3/3] trace: instrument and trace tcg tb flush activity
Date: Tue, 15 Jul 2014 22:11:34 +0200	[thread overview]
Message-ID: <53C58AF6.40206@redhat.com> (raw)
In-Reply-To: <871ttmyabr.fsf@linaro.org>

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".

Paolo

> OTOH the numbers I'm seeing are very interesting in so far as the fast
> path could be a potential waste of code in a lot of cases.

  reply	other threads:[~2014-07-15 20:12 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-15 11:42 [Qemu-devel] [PATCH v2 0/3] some TCG related trace patches Alex Bennée
2014-07-15 11:42 ` [Qemu-devel] [PATCH v2 1/3] trace: teach lttng backend to use format strings Alex Bennée
2014-08-01  9:05   ` Alex Bennée
2014-08-01 12:54     ` Stefan Hajnoczi
2014-07-15 11:42 ` [Qemu-devel] [PATCH v2 2/3] trace: add some tcg tracing support Alex Bennée
2014-07-15 11:42 ` [Qemu-devel] [PATCH v2 3/3] trace: instrument and trace tcg tb flush activity Alex Bennée
2014-07-15 12:15   ` Andreas Färber
2014-07-15 13:12     ` Alex Bennée
2014-07-15 12:23   ` Peter Maydell
2014-07-15 13:07     ` Peter Maydell
2014-07-15 13:10     ` Alex Bennée
2014-07-15 13:19   ` Paolo Bonzini
2014-07-15 14:16     ` Alex Bennée
2014-07-15 20:11       ` Paolo Bonzini [this message]
2014-07-15 20:29         ` Peter Maydell
2014-07-15 20:38           ` Paolo Bonzini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53C58AF6.40206@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=afaerber@suse.de \
    --cc=alex.bennee@linaro.org \
    --cc=mohamad.gebai@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).