summaryrefslogtreecommitdiffstats
path: root/trace-events
diff options
context:
space:
mode:
authorLluís Vilanova2016-12-26 22:24:46 +0100
committerStefan Hajnoczi2017-01-16 14:40:56 +0100
commita47e87151e785977d34e7b726495e7781860ca9f (patch)
treeb207220550273555dfef0b7168c72c9d0f85ff65 /trace-events
parenttrace: Fix dynamic event state on vCPU hot-unplug (diff)
downloadqemu-a47e87151e785977d34e7b726495e7781860ca9f.tar.gz
qemu-a47e87151e785977d34e7b726495e7781860ca9f.tar.xz
qemu-a47e87151e785977d34e7b726495e7781860ca9f.zip
trace: Add event "guest_cpu_exit"
Signals the hot-unplugging of a virtual (guest) CPU. Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu> Message-id: 148278748597.1404.10546320797997984932.stgit@fimbulvetr.bsc.es Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'trace-events')
-rw-r--r--trace-events6
1 files changed, 6 insertions, 0 deletions
diff --git a/trace-events b/trace-events
index 2c66780706..839a9d0fba 100644
--- a/trace-events
+++ b/trace-events
@@ -141,6 +141,12 @@ memory_region_ram_device_write(int cpu_index, void *mr, uint64_t addr, uint64_t
# Targets: all
vcpu guest_cpu_enter(void)
+# Hot-unplug a virtual (guest) CPU
+#
+# Mode: user, softmmu
+# Targets: all
+vcpu guest_cpu_exit(void)
+
# Reset the state of a virtual (guest) CPU
#
# Mode: user, softmmu