qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 0/3] trace: Add events to track vCPU lifecycle
@ 2016-09-19 12:55 Lluís Vilanova
  2016-09-19 12:55 ` [Qemu-devel] [PATCH v3 1/3] trace: Properly initialize dynamic event states in hot-plugged vCPUs Lluís Vilanova
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Lluís Vilanova @ 2016-09-19 12:55 UTC (permalink / raw)
  To: qemu-devel; +Cc: Stefan Hajnoczi

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 <vilanova@ac.upc.edu>
---

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 <stefanha@redhat.com>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-09-23 12:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-19 12:55 [Qemu-devel] [PATCH v3 0/3] trace: Add events to track vCPU lifecycle Lluís Vilanova
2016-09-19 12:55 ` [Qemu-devel] [PATCH v3 1/3] trace: Properly initialize dynamic event states in hot-plugged vCPUs Lluís Vilanova
2016-09-23 12:40   ` Stefan Hajnoczi
2016-09-19 12:55 ` [Qemu-devel] [PATCH v3 2/3] trace: Add event "guest_cpu_enter" Lluís Vilanova
2016-09-19 12:55 ` [Qemu-devel] [PATCH v3 3/3] trace: Add event "guest_cpu_reset" Lluís Vilanova
2016-09-23 12:40 ` [Qemu-devel] [PATCH v3 0/3] trace: Add events to track vCPU lifecycle Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).