diff options
| author | Lluís Vilanova <vilanova@ac.upc.edu> | 2016-08-23 10:58:52 +0200 |
|---|---|---|
| committer | Stefan Hajnoczi <stefanha@redhat.com> | 2016-09-05 13:47:01 -0400 |
| commit | a4d50b1d2a6c07a13fb8401a0c3b471f25b44b2a (patch) | |
| tree | 759f26ca4ab35af37104c358bd1cd0294f8f3cb1 /trace/event-internal.h | |
| parent | 0a852417564bc59441dc09509beacf7b49bc1e57 (diff) | |
| download | focaccia-qemu-a4d50b1d2a6c07a13fb8401a0c3b471f25b44b2a.tar.gz focaccia-qemu-a4d50b1d2a6c07a13fb8401a0c3b471f25b44b2a.zip | |
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 'trace/event-internal.h')
| -rw-r--r-- | trace/event-internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/trace/event-internal.h b/trace/event-internal.h index 5d8fa97ca5..074faf6862 100644 --- a/trace/event-internal.h +++ b/trace/event-internal.h @@ -29,5 +29,6 @@ typedef struct TraceEvent { const bool sstate; } TraceEvent; +void trace_event_set_state_dynamic_init(TraceEvent *ev, bool state); #endif /* TRACE__EVENT_INTERNAL_H */ |