From: "Alex Bennée" <alex.bennee@linaro.org>
To: Hollis Blanchard <hollis_blanchard@mentor.com>
Cc: Stefan Hajnoczi <stefanha@gmail.com>,
QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] trace: timestamps, core IDs, and file creation
Date: Mon, 08 Feb 2016 18:01:55 +0000 [thread overview]
Message-ID: <87oabrw06k.fsf@linaro.org> (raw)
In-Reply-To: <5696D9FE.9060409@mentor.com>
Hollis Blanchard <hollis_blanchard@mentor.com> writes:
> Hi Stefan, I've been starting to use qemu tracing and found it quite
> useful. I have a couple comments about the trace events in general:
>
<snip>
> Right now, the simple tracepoint backend creates a trace file even when
> no events are active and no -trace options are present. Compounding the
> situation, omitting "-trace file=foo" results in the directory being
> littered with trace-NNNN files... could we create the file only when
> tracing is activated? And maybe with a more predictable name?
Yeah I've run into trouble when running "make check" with the simple
backend enabled. I'm not sure exactly what mechanism breaks the test but
it seems to me an invocation like:
./x86_64-softmmu/qemu-system-x86_64 -qtest
unix:/tmp/qtest-9458.sock,nowait -qtest-log /dev/null -qmp
unix:/tmp/qtest-9458.qmp,nowait -machine accel=qtest -display none -M
pc -device pc-testdev
Shouldn't be generating anything unless an explicit file is set.
AFAICT 41fc57e44ed64cd4ab5393d83624afd897dabd4f is triggering the
default file behaviour.
I'm still digging into this.
--
Alex Bennée
next prev parent reply other threads:[~2016-02-08 18:02 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-13 23:13 [Qemu-devel] trace: timestamps, core IDs, and file creation Hollis Blanchard
2016-02-08 15:30 ` Stefan Hajnoczi
2016-02-08 16:29 ` Lluís Vilanova
2016-02-08 18:51 ` [Qemu-devel] [PATCH] trace: only create simple backend trace files when an event is emitted Hollis Blanchard
2016-02-08 20:02 ` Alex Bennée
2016-02-15 15:52 ` Stefan Hajnoczi
2016-02-15 15:54 ` Stefan Hajnoczi
2016-02-08 19:59 ` [Qemu-devel] trace: timestamps, core IDs, and file creation Hollis Blanchard
2016-02-15 15:29 ` Stefan Hajnoczi
2016-02-08 18:01 ` Alex Bennée [this message]
2016-02-08 18:34 ` Alex Bennée
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=87oabrw06k.fsf@linaro.org \
--to=alex.bennee@linaro.org \
--cc=hollis_blanchard@mentor.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@gmail.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).