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 --- trace-events | 2 ++ 1 file changed, 2 insertions(+) (limited to 'trace-events') diff --git a/trace-events b/trace-events index d5bc7a5589..17d75abfe8 100644 --- a/trace-events +++ b/trace-events @@ -1158,3 +1158,5 @@ migrate_set_state(int new_state) "new state %d" kvm_ioctl(int type, void *arg) "type %d, arg %p" kvm_vm_ioctl(int type, void *arg) "type %d, arg %p" kvm_vcpu_ioctl(int cpu_index, int type, void *arg) "cpu_index %d, type %d, arg %p" +kvm_run_exit(int cpu_index, uint32_t reason) "cpu_index %d, reason %d" + -- cgit v1.2.3