qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [Tracing][PATCH v3] Add options to specify trace file


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [Tracing][PATCH v3] Add options to specify trace file name at startup and runtime.
Date: Wed, 4 Aug 2010 12:48:02 +0100

On Wed, Aug 4, 2010 at 11:53 AM, Prerna Saxena
<address@hidden> wrote:
> Stefanha, Malc,
> Thanks for suggestions. Resending the patch after clean-up.
>
> This patch adds an optional command line switch '-trace' to specify the
> filename to write traces to, when qemu starts.
> Eg, If compiled with the 'simple' trace backend,
> address@hidden qemu -trace FILENAME IMAGE
> Allows the binary traces to be written to FILENAME instead of the option
> set at config-time.
>
> Also, this adds monitor sub-command 'set' to trace-file commands to
> dynamically change trace log file at runtime.
> Eg,
> (qemu)trace-file set FILENAME
> This allows one to set trace outputs to FILENAME from the default
> specified at startup.
>
> Changelog from v2 :
> - Cleanups.
>
>
> Signed-off-by: Prerna Saxena <address@hidden>
> ---
>  monitor.c       |    6 ++++++
>  qemu-monitor.hx |    6 +++---
>  qemu-options.hx |   11 +++++++++++
>  simpletrace.c   |   41 +++++++++++++++++++++++++++++++----------
>  tracetool       |    1 +
>  vl.c            |   18 ++++++++++++++++++
>  6 files changed, 70 insertions(+), 13 deletions(-)

Thanks, applied to the tracing branch:
http://repo.or.cz/w/qemu/stefanha.git/shortlog/refs/heads/tracing

Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]