diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2012-07-23 15:20:30 (GMT) |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-07-26 11:04:35 (GMT) |
commit | ade38c311a0ad8c32e902fe1d0ae74d0d44bc71e (patch) | |
tree | 489e375232f2b036080cfb5b43dd1c792c85dcf3 /arch/s390/kvm/diag.c | |
parent | 5786fffa96ae7c3f8111e29fb62e073a45efc557 (diff) | |
download | linux-ade38c311a0ad8c32e902fe1d0ae74d0d44bc71e.tar.xz |
KVM: s390: Add implementation-specific trace events
Introduce a new trace system, kvm-s390, for some kvm/s390 specific
trace points:
- injection of interrupts
- delivery of interrupts to the guest
- creation/destruction of kvm machines and vcpus
- stop actions for vcpus
- reset requests for userspace
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/s390/kvm/diag.c')
-rw-r--r-- | arch/s390/kvm/diag.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/kvm/diag.c b/arch/s390/kvm/diag.c index f5d4416..a390687 100644 --- a/arch/s390/kvm/diag.c +++ b/arch/s390/kvm/diag.c @@ -15,6 +15,7 @@ #include <linux/kvm_host.h> #include "kvm-s390.h" #include "trace.h" +#include "trace-s390.h" static int diag_release_pages(struct kvm_vcpu *vcpu) { @@ -99,6 +100,7 @@ static int __diag_ipl_functions(struct kvm_vcpu *vcpu) vcpu->run->exit_reason = KVM_EXIT_S390_RESET; VCPU_EVENT(vcpu, 3, "requesting userspace resets %llx", vcpu->run->s390_reset_flags); + trace_kvm_s390_request_resets(vcpu->run->s390_reset_flags); return -EREMOTE; } |