@@ -8,8 +8,10 @@
*/
#include "qemu-common.h"
+#include "trace.h"
void qemu_init_vcpu(void *env)
{
+ trace_vcpu_init(env);
}
@@ -35,6 +35,7 @@
#include "qemu-thread.h"
#include "cpus.h"
#include "main-loop.h"
+#include "trace.h"
#ifndef _WIN32
#include "compatfd.h"
@@ -944,6 +945,7 @@ void qemu_init_vcpu(void *_env)
} else {
qemu_tcg_init_vcpu(env);
}
+ trace_vcpu_init(env);
}
void cpu_stop_current(void)
@@ -631,3 +631,10 @@ win_helper_no_switch_pstate(uint32_t new_pstate_regs) "change_pstate: regs new=%
win_helper_wrpil(uint32_t psrpil, uint32_t new_pil) "old=%x new=%x"
win_helper_done(uint32_t tl) "tl=%d"
win_helper_retry(uint32_t tl) "tl=%d"
+
+### Abstract events (not specific to a file; keep at bottom)
+
+## vCPU
+
+# Create a new vCPU (CPUState structure)
+vcpu_init(void *vcpu) "%p"
Signals the creation of a new vCPU (CPUState structure). Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu> --- cpus-user.c | 2 ++ cpus.c | 2 ++ trace-events | 7 +++++++ 3 files changed, 11 insertions(+), 0 deletions(-)