From b9d72215248789abdd1e2bfce746eff2eddd67fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Vilanova?= Date: Mon, 19 Sep 2016 14:55:13 +0200 Subject: trace: Add event "guest_cpu_enter" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signals the hot-plugging of a new virtual (guest) CPU. Signed-off-by: LluĂ­s Vilanova Message-id: 147428971313.15111.18023030883528426840.stgit@fimbulvetr.bsc.es Signed-off-by: Stefan Hajnoczi --- trace/control-target.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'trace/control-target.c') diff --git a/trace/control-target.c b/trace/control-target.c index 3b7d99b44c..52fcce5a00 100644 --- a/trace/control-target.c +++ b/trace/control-target.c @@ -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); } -- cgit v1.2.3