On Wed, Sep 28, 2016 at 02:08:12PM +0100, Daniel P. Berrange wrote:
> Currently we only expose a TraceEvent array, which must
> be indexed via the TraceEventID enum constants. This
> changes the generator to expose a named TraceEvent
> instance for each event, with an _EVENT suffix.
> 
> Signed-off-by: Daniel P. Berrange <berra...@redhat.com>
> ---
>  scripts/tracetool/__init__.py        |  1 +
>  scripts/tracetool/format/events_c.py | 19 +++++++++++++------
>  scripts/tracetool/format/events_h.py | 11 ++++++++---
>  trace/control-internal.h             |  2 +-
>  trace/control.c                      |  2 +-
>  5 files changed, 24 insertions(+), 11 deletions(-)

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

Attachment: signature.asc
Description: PGP signature

Reply via email to