[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v5] trace: Multi-backend tracing
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH v5] trace: Multi-backend tracing |
Date: |
Wed, 28 May 2014 15:07:37 +0200 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Tue, May 27, 2014 at 03:02:14PM +0200, Lluís Vilanova wrote:
> Adds support to compile QEMU with multiple tracing backends at the same time.
>
> For example, you can compile QEMU with:
>
> $ ./configure --enable-trace-backends=ftrace,dtrace
>
> Where 'ftrace' can be handy for having an in-flight record of events, and
> 'dtrace' can be later used to extract more information from the system.
>
> This patch allows having both available without recompiling QEMU.
>
> Signed-off-by: Lluís Vilanova <address@hidden>
> ---
> .travis.yml | 8 +++--
> Makefile | 4 +--
> Makefile.target | 4 +--
> configure | 47 +++++++++++++++-----------------
> docs/tracing.txt | 4 +--
> qemu-io.c | 2 +
> scripts/tracetool.py | 43 +++++++++++++++--------------
> scripts/tracetool/__init__.py | 24 +++++++---------
> scripts/tracetool/backend/__init__.py | 15 +++++-----
> trace/Makefile.objs | 32 ++++++++++------------
> trace/control-internal.h | 4 +--
> trace/control.c | 49
> ++++++++++++++++++++++++++++++++-
> trace/control.h | 27 +++---------------
> trace/default.c | 40 ---------------------------
> trace/ftrace.c | 25 +----------------
> trace/ftrace.h | 5 +++
> trace/simple.c | 19 +------------
> trace/simple.h | 1 +
> trace/stderr.c | 30 --------------------
> vl.c | 4 +--
> 20 files changed, 153 insertions(+), 234 deletions(-)
> delete mode 100644 trace/default.c
> delete mode 100644 trace/stderr.c
Thanks, applied to my tracing tree:
https://github.com/stefanha/qemu/commits/tracing
Stefan