mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
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>
This commit is contained in:
parent
0a85241756
commit
a4d50b1d2a
5 changed files with 28 additions and 11 deletions
|
@ -274,6 +274,9 @@ char *trace_opt_parse(const char *optarg);
|
|||
*
|
||||
* Re-synchronize initial event state with vCPUs (which can be created after
|
||||
* trace_init_events()).
|
||||
*
|
||||
* Precondition: event states won't be changed between trace_enable_events() and
|
||||
* trace_init_vcpu_events() (e.g., through QMP).
|
||||
*/
|
||||
void trace_init_vcpu_events(void);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue