trace: track enabled events in a separate array
commit585ec7273e6fdab902b2128bc6c2a8136aafef04
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 28 Oct 2015 06:06:27 +0000 (28 07:06 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Wed, 3 Feb 2016 09:19:09 +0000 (3 09:19 +0000)
treec51aa9a5cf2fa1600e5b3128470935afe0eb3bd5
parent43b48cfc3e8ff745a10a6b78a55519d5cf7ec5e8
trace: track enabled events in a separate array

This is more cache friendly on the fast path, where we already have
the event id available.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
scripts/tracetool/format/events_c.py
trace/control-internal.h
trace/control.c
trace/control.h
trace/event-internal.h