From: Richard Henderson <rth@twiddle.net>
To: "Alex Bennée" <alex.bennee@linaro.org>, qemu-devel@nongnu.org
Cc: pbonzini@redhat.com, crosthwaitepeter@gmail.com,
dgilbert@redhat.com, aurelien@aurel32.net
Subject: Re: [Qemu-devel] [PATCH v7 8/9] qemu-log: support simple pid substitution for logs
Date: Fri, 26 Feb 2016 12:21:23 -0800 [thread overview]
Message-ID: <56D0B3C3.3000904@twiddle.net> (raw)
In-Reply-To: <1456156787-17509-9-git-send-email-alex.bennee@linaro.org>
On 02/22/2016 07:59 AM, Alex Bennée wrote:
> When debugging stuff that occurs over several forks it would be useful
> not to keep overwriting the one logfile you've set-up. This allows a
> simple %d to be included once in the logfile parameter which is
> substituted with getpid().
>
> As the test cases involve checking user output they need
> g_test_trap_subprocess() support. As a result they are currently skipped
> on Travis builds due to the older glib involved.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Reviewed-by: Leandro Dorileo <l@dorileo.org>
> Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
>
> ---
> v5
> - add another r-b
> v7
> - simpler error check as suggested by Eric Blake
> - don't g_error, just error_report (so we don't crash from monitor)
> - add some unit tests
> ---
> tests/test-logging.c | 39 +++++++++++++++++++++++++++++++++++++++
> util/log.c | 22 ++++++++++++++++++++--
> 2 files changed, 59 insertions(+), 2 deletions(-)
Reviewed-by: Richard Henderson <rth@twiddle.net>
r~
next prev parent reply other threads:[~2016-02-26 20:21 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-22 15:59 [Qemu-devel] [PATCH v7 0/9] qemu-log, -dfilter and other logging tweaks Alex Bennée
2016-02-22 15:59 ` [Qemu-devel] [PATCH v7 1/9] tcg: pass down TranslationBlock to tcg_code_gen Alex Bennée
2016-02-26 20:19 ` Richard Henderson
2016-02-22 15:59 ` [Qemu-devel] [PATCH v7 2/9] qemu-log: correct help text for -d cpu Alex Bennée
2016-02-22 15:59 ` [Qemu-devel] [PATCH v7 3/9] qemu-log: Avoid function call for disabled qemu_log_mask logging Alex Bennée
2016-02-22 15:59 ` [Qemu-devel] [PATCH v7 4/9] qemu-log: Improve the "exec" TB execution logging Alex Bennée
2016-02-22 15:59 ` [Qemu-devel] [PATCH v7 5/9] qemu-log: new option -dfilter to limit output Alex Bennée
2016-02-26 20:25 ` Richard Henderson
2016-03-03 14:04 ` Alex Bennée
2016-03-03 20:56 ` Richard Henderson
2016-03-03 23:33 ` Peter Maydell
2016-02-22 15:59 ` [Qemu-devel] [PATCH v7 6/9] qemu-log: dfilter-ise exec, out_asm, op and opt_op Alex Bennée
2016-02-22 15:59 ` [Qemu-devel] [PATCH v7 7/9] target-arm: dfilter support for in_asm Alex Bennée
2016-02-26 20:20 ` Richard Henderson
2016-02-22 15:59 ` [Qemu-devel] [PATCH v7 8/9] qemu-log: support simple pid substitution for logs Alex Bennée
2016-02-26 20:21 ` Richard Henderson [this message]
2016-02-22 15:59 ` [Qemu-devel] [PATCH v7 9/9] cputlb: modernise the debug support Alex Bennée
2016-02-26 10:57 ` [Qemu-devel] [PATCH v7 0/9] qemu-log, -dfilter and other logging tweaks 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=56D0B3C3.3000904@twiddle.net \
--to=rth@twiddle.net \
--cc=alex.bennee@linaro.org \
--cc=aurelien@aurel32.net \
--cc=crosthwaitepeter@gmail.com \
--cc=dgilbert@redhat.com \
--cc=pbonzini@redhat.com \
--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).