qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Alex Bennée" <alex.bennee@linaro.org>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH v2 7/7] qemu-log: add nochain option to disable TB chaining
Date: Fri, 28 Mar 2014 17:47:18 +0000	[thread overview]
Message-ID: <87k3beb4gp.fsf@linaro.org> (raw)
In-Reply-To: <CAFEAcA8XpA8aPCV0k07WnTPwg2ePawCc2u+QS9BuHNhpWGSzxA@mail.gmail.com>


Peter Maydell <peter.maydell@linaro.org> writes:

> On 28 March 2014 16:43, Alex Bennée <alex.bennee@linaro.org> wrote:
>> The current exec and cpu flags only show information when we enter a
>> TranslationBlock. The blocks will then chain together until there is a
>> reason to exit which can make things harder to follow. This new option
>> disables the chaining for debugging purposes.
>>
>> +    { CPU_LOG_TB_NOCHAIN, "nochain",
>> +      "disable chaining of translation blocks (better tracing, but slower)" },
>
> I know it's a convenient place to put it, but it's not really
> a tracing option so I'm a bit dubious about putting it in
> the log flags...

Yeah I know, but I didn't really want to make a new tcg opts set of
flags as it's more of logging clarity kinda option. Of course this
glosses over the fact it is also useful for tcg trace-events (when I
send them).

Is it time to expose a set of TCG fiddling variables?

>
> thanks
> -- PMM

-- 
Alex Bennée

      reply	other threads:[~2014-03-28 17:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-28 16:43 [Qemu-devel] [PATCH v2 0/7] qemu-log: various fixes and enhancements Alex Bennée
2014-03-28 16:43 ` [Qemu-devel] [PATCH v2 1/7] qemu-log: correct help text for -d cpu Alex Bennée
2014-03-28 16:43 ` [Qemu-devel] [PATCH v2 2/7] qemu-log: Avoid function call for disabled qemu_log_mask logging Alex Bennée
2014-03-28 16:43 ` [Qemu-devel] [PATCH v2 3/7] qemu-log: Improve the "exec" TB execution logging Alex Bennée
2014-03-28 16:43 ` [Qemu-devel] [PATCH v2 4/7] qemu-log: support simple pid substitution in logfile Alex Bennée
2014-03-28 16:43 ` [Qemu-devel] [PATCH v2 5/7] qemu-log: new option -dfilter to limit output Alex Bennée
2014-03-28 16:43 ` [Qemu-devel] [PATCH v2 6/7] qemu-log: dfilter-ise exec, in_asm, out_asm, and op_opt Alex Bennée
2014-03-28 16:43 ` [Qemu-devel] [PATCH v2 7/7] qemu-log: add nochain option to disable TB chaining Alex Bennée
2014-03-28 17:34   ` Peter Maydell
2014-03-28 17:47     ` Alex Bennée [this message]

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=87k3beb4gp.fsf@linaro.org \
    --to=alex.bennee@linaro.org \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /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).