aboutsummaryrefslogtreecommitdiff
path: root/trace/event-internal.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2015-10-28 07:06:27 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2016-02-03 09:19:09 +0000
commit585ec7273e6fdab902b2128bc6c2a8136aafef04 (patch)
treec51aa9a5cf2fa1600e5b3128470935afe0eb3bd5 /trace/event-internal.h
parent43b48cfc3e8ff745a10a6b78a55519d5cf7ec5e8 (diff)
downloadqemu-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/event-internal.h')
-rw-r--r--trace/event-internal.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/trace/event-internal.h b/trace/event-internal.h
index b2310d9..86f6a51 100644
--- a/trace/event-internal.h
+++ b/trace/event-internal.h
@@ -18,7 +18,6 @@
* @id: Unique event identifier.
* @name: Event name.
* @sstate: Static tracing state.
- * @dstate: Dynamic tracing state.
*
* Opaque generic description of a tracing event.
*/
@@ -26,7 +25,6 @@ typedef struct TraceEvent {
TraceEventID id;
const char * name;
const bool sstate;
- bool dstate;
} TraceEvent;