On Wed, Sep 28, 2016 at 02:08:16PM +0100, Daniel P. Berrange wrote:
> Remove the notion of there being a single global array
> of trace events, by introducing a method for registering
> groups of events.
> 
> The module_call_init() needs to be invoked at the start
> of any program that wants to make use of the trace
> support. Currently this covers system emulators qemu-nbd,
> qemu-img and qemu-io.
> 
> Reviewed-by: Lluís Vilanova <vilan...@ac.upc.edu>
> Signed-off-by: Daniel P. Berrange <berra...@redhat.com>
> ---
>  include/qemu/module.h                |  2 ++
>  qemu-img.c                           |  1 +
>  qemu-io.c                            |  1 +
>  qemu-nbd.c                           |  1 +
>  scripts/tracetool/format/events_c.py |  6 ++++++
>  trace/control-internal.h             |  4 +++-
>  trace/control.c                      | 25 +++++++++++++++++++++++--
>  trace/control.h                      |  1 +
>  vl.c                                 |  2 ++
>  9 files changed, 40 insertions(+), 3 deletions(-)

Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>

Attachment: signature.asc
Description: PGP signature

Reply via email to