@@ -142,6 +142,14 @@ memory_region_tb_write(int cpu_index, uint64_t addr, uint64_t value, unsigned si
### Guest events, keep at bottom
+
+## vCPU
+
+# Hot-plug a new virtual (guest) CPU
+#
+# Targets: all
+vcpu guest_cpu_enter(void)
+
# @vaddr: Access' virtual address.
# @info : Access' information (see below).
#
@@ -9,6 +9,7 @@
#include "qemu/osdep.h"
#include "cpu.h"
+#include "trace.h"
#include "trace/control.h"
#include "translate-all.h"
@@ -117,4 +118,6 @@ void trace_init_vcpu(CPUState *vcpu)
}
}
}
+
+ trace_guest_cpu_enter(vcpu);
}
Signals the hot-plugging of a new virtual (guest) CPU. Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu> --- trace-events | 8 ++++++++ trace/control-target.c | 3 +++ 2 files changed, 11 insertions(+)