From b76ac80a5ca9f2e19405419172c0dcaf0370d4f5 Mon Sep 17 00:00:00 2001 From: Kazuya Saito Date: Fri, 29 Mar 2013 13:27:52 +0900 Subject: kvm-all: add kvm_run_exit tracepoint This patch enable us to know exit reason of KVM_RUN. It will help us know where the trouble is caused. Signed-off-by: Kazuya Saito Reviewed-by: Paolo Bonzini Signed-off-by: Stefan Hajnoczi --- kvm-all.c | 1 + 1 file changed, 1 insertion(+) (limited to 'kvm-all.c') diff --git a/kvm-all.c b/kvm-all.c index 4f73b98f33..3a31602359 100644 --- a/kvm-all.c +++ b/kvm-all.c @@ -1627,6 +1627,7 @@ int kvm_cpu_exec(CPUArchState *env) abort(); } + trace_kvm_run_exit(cpu->cpu_index, run->exit_reason); switch (run->exit_reason) { case KVM_EXIT_IO: DPRINTF("handle_io\n"); -- cgit v1.2.3