Re: [Qemu-devel] [PATCH] trace: Immediately apply per-vCPU state changes if a vCPU is being created

2017-09-06 Thread Emilio G. Cota
On Wed, Sep 06, 2017 at 18:27:10 +0300, Lluís Vilanova wrote: > Right now, function trace_event_set_vcpu_state_dynamic() asynchronously > enables > events in the case a vCPU is executing TCG code. If the vCPU is being created > this makes some events like "guest_cpu_enter" to not be traced. > >

[Qemu-devel] [PATCH] trace: Immediately apply per-vCPU state changes if a vCPU is being created

2017-09-06 Thread Lluís Vilanova
Right now, function trace_event_set_vcpu_state_dynamic() asynchronously enables events in the case a vCPU is executing TCG code. If the vCPU is being created this makes some events like "guest_cpu_enter" to not be traced. Signed-off-by: Lluís Vilanova ---