diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2015-10-28 07:06:27 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2016-02-03 09:19:09 +0000 |
commit | 585ec7273e6fdab902b2128bc6c2a8136aafef04 (patch) | |
tree | c51aa9a5cf2fa1600e5b3128470935afe0eb3bd5 /trace/control.c | |
parent | 43b48cfc3e8ff745a10a6b78a55519d5cf7ec5e8 (diff) | |
download | qemu-585ec7273e6fdab902b2128bc6c2a8136aafef04.zip qemu-585ec7273e6fdab902b2128bc6c2a8136aafef04.tar.gz qemu-585ec7273e6fdab902b2128bc6c2a8136aafef04.tar.bz2 |
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>
Diffstat (limited to 'trace/control.c')
-rw-r--r-- | trace/control.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/trace/control.c b/trace/control.c index 95fbc07..700440c 100644 --- a/trace/control.c +++ b/trace/control.c @@ -17,6 +17,7 @@ #include "qemu/error-report.h" int trace_events_enabled_count; +bool trace_events_dstate[TRACE_EVENT_COUNT]; TraceEvent *trace_event_name(const char *name) { |