summaryrefslogtreecommitdiff
path: root/trace-events
diff options
context:
space:
mode:
authorKazuya Saito <saito.kazuya@jp.fujitsu.com>2013-03-29 13:27:05 +0900
committerStefan Hajnoczi <stefanha@redhat.com>2013-05-03 13:58:08 +0200
commit9c7757290c6d80c2f5bde6fa71d2c9fe2b331c8c (patch)
tree62e1498fdfd2aee7707c5cfb546e234dda87a187 /trace-events
parent8ca27ce2e1150486ea2db4116a03706b28294f16 (diff)
downloadqemu-9c7757290c6d80c2f5bde6fa71d2c9fe2b331c8c.tar.gz
kvm-all: add kvm_ioctl, kvm_vm_ioctl, kvm_vcpu_ioctl tracepoints
This patch adds tracepoints at ioctl to kvm. Tracing these ioctl is useful for clarification whether the cause of troubles is qemu or kvm. Signed-off-by: Kazuya Saito <saito.kazuya@jp.fujitsu.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'trace-events')
-rw-r--r--trace-events5
1 files changed, 5 insertions, 0 deletions
diff --git a/trace-events b/trace-events
index 55e80be1d1..d5bc7a5589 100644
--- a/trace-events
+++ b/trace-events
@@ -1153,3 +1153,8 @@ virtio_ccw_new_device(int cssid, int ssid, int schid, int devno, const char *dev
# migration.c
migrate_set_state(int new_state) "new state %d"
+
+# kvm-all.c
+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"