aboutsummaryrefslogtreecommitdiff
path: root/stubs
diff options
context:
space:
mode:
authorLluís Vilanova <vilanova@ac.upc.edu>2016-08-23 10:58:52 +0200
committerStefan Hajnoczi <stefanha@redhat.com>2016-09-05 13:47:01 -0400
commita4d50b1d2a6c07a13fb8401a0c3b471f25b44b2a (patch)
tree759f26ca4ab35af37104c358bd1cd0294f8f3cb1 /stubs
parent0a852417564bc59441dc09509beacf7b49bc1e57 (diff)
trace: Remove 'trace_events_dstate_init'
Removes the event state array used for early initialization. Since only events with the "vcpu" property need a late initialization fixup, threats their initialization specially. Assumes that the user won't touch the state of "vcpu" events between early and late initialization (e.g., through QMP). Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu> Message-id: 147194273191.26836.14423079546263831356.stgit@fimbulvetr.bsc.es Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'stubs')
-rw-r--r--stubs/trace-control.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/stubs/trace-control.c b/stubs/trace-control.c
index fe59836fce..3740c38589 100644
--- a/stubs/trace-control.c
+++ b/stubs/trace-control.c
@@ -11,6 +11,11 @@
#include "trace/control.h"
+void trace_event_set_state_dynamic_init(TraceEvent *ev, bool state)
+{
+ trace_event_set_state_dynamic(ev, state);
+}
+
void trace_event_set_state_dynamic(TraceEvent *ev, bool state)
{
TraceEventID id;