Re: [Qemu-devel] [PATCH v3 0/3] trace: Add events to track vCPU lifecycle

2016-09-23 Thread Stefan Hajnoczi
On Mon, Sep 19, 2016 at 02:55:02PM +0200, Lluís Vilanova wrote:
> Adds events to track vCPU hot-(un)plugging and reset.
> 
> As a bonus, first patch fixes per-vCPU dynamic event state initialization,
> making the current late initialization code obsolete.
> 
> NOTE: This series is missing CPU hot-unplug, since I could not find a generic
>   point to hook the event.
> 
> Signed-off-by: Lluís Vilanova 
> ---
> 
> Changes in v3
> =
> 
> * Remove code for trace_fini_vcpu(), since there is no full support for
>   hot-unplugging.
> 
> 
> Changes in v2
> =
> 
> * Properly support vCPU hot-plugging to "inherit" dynamic event states.
> * Rename event "guest_cpu_init" to "guest_cpu_enter".
> 
> 
> Lluís Vilanova (3):
>   trace: Properly initialize dynamic event states in hot-plugged vCPUs
>   trace: Add event "guest_cpu_enter"
>   trace: Add event "guest_cpu_reset"
> 
> 
>  bsd-user/main.c|1 -
>  linux-user/main.c  |1 -
>  qom/cpu.c  |6 ++
>  stubs/trace-control.c  |6 ++
>  trace-events   |   13 +
>  trace/control-target.c |   40 
>  trace/control.c|   19 ---
>  trace/control.h|   19 ---
>  vl.c   |1 -
>  9 files changed, 73 insertions(+), 33 deletions(-)
> 
> 
> To: qemu-devel@nongnu.org
> Cc: Stefan Hajnoczi 

Thanks, applied to my tracing tree:
https://github.com/stefanha/qemu/commits/tracing

Stefan


signature.asc
Description: PGP signature


[Qemu-devel] [PATCH v3 0/3] trace: Add events to track vCPU lifecycle

2016-09-19 Thread Lluís Vilanova
Adds events to track vCPU hot-(un)plugging and reset.

As a bonus, first patch fixes per-vCPU dynamic event state initialization,
making the current late initialization code obsolete.

NOTE: This series is missing CPU hot-unplug, since I could not find a generic
  point to hook the event.

Signed-off-by: Lluís Vilanova 
---

Changes in v3
=

* Remove code for trace_fini_vcpu(), since there is no full support for
  hot-unplugging.


Changes in v2
=

* Properly support vCPU hot-plugging to "inherit" dynamic event states.
* Rename event "guest_cpu_init" to "guest_cpu_enter".


Lluís Vilanova (3):
  trace: Properly initialize dynamic event states in hot-plugged vCPUs
  trace: Add event "guest_cpu_enter"
  trace: Add event "guest_cpu_reset"


 bsd-user/main.c|1 -
 linux-user/main.c  |1 -
 qom/cpu.c  |6 ++
 stubs/trace-control.c  |6 ++
 trace-events   |   13 +
 trace/control-target.c |   40 
 trace/control.c|   19 ---
 trace/control.h|   19 ---
 vl.c   |1 -
 9 files changed, 73 insertions(+), 33 deletions(-)


To: qemu-devel@nongnu.org
Cc: Stefan Hajnoczi