Re: [Qemu-devel] [PATCH v2] trace: Remove 'trace_events_dstate_init'

2016-08-11 Thread Lluís Vilanova
Daniel P Berrange writes: > On Thu, Aug 11, 2016 at 01:03:10PM +0200, Lluís Vilanova wrote: >> Daniel P Berrange writes: >> >> > On Thu, Aug 11, 2016 at 12:23:05PM +0200, Lluís Vilanova wrote: >> >> Removes the event state array used for early initialization. Since only >> >> events with the "vcp

Re: [Qemu-devel] [PATCH v2] trace: Remove 'trace_events_dstate_init'

2016-08-11 Thread Daniel P. Berrange
On Thu, Aug 11, 2016 at 01:03:10PM +0200, Lluís Vilanova wrote: > Daniel P Berrange writes: > > > On Thu, Aug 11, 2016 at 12:23:05PM +0200, Lluís Vilanova wrote: > >> Removes the event state array used for early initialization. Since only > >> events with the "vcpu" property need a late initializa

Re: [Qemu-devel] [PATCH v2] trace: Remove 'trace_events_dstate_init'

2016-08-11 Thread Lluís Vilanova
Daniel P Berrange writes: > On Thu, Aug 11, 2016 at 12:23:05PM +0200, Lluís Vilanova wrote: >> 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

Re: [Qemu-devel] [PATCH v2] trace: Remove 'trace_events_dstate_init'

2016-08-11 Thread Daniel P. Berrange
On Thu, Aug 11, 2016 at 12:23:05PM +0200, Lluís Vilanova wrote: > 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

[Qemu-devel] [PATCH v2] trace: Remove 'trace_events_dstate_init'

2016-08-11 Thread Lluís Vilanova
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).