On Wed, Aug 4, 2010 at 11:53 AM, Prerna Saxena <pre...@linux.vnet.ibm.com> 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, > [t...@system]$ 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 <pre...@linux.vnet.ibm.com> > --- > 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