diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2012-07-23 17:20:29 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-07-26 14:04:34 +0300 |
commit | 5786fffa96ae7c3f8111e29fb62e073a45efc557 (patch) | |
tree | d9a8301a36a822b82ae3d4d14b1cb640df686ec2 /arch/s390/kvm/sigp.c | |
parent | 9b7fb990e080f3a7c5dff9a829d11247e629b98f (diff) | |
download | op-kernel-dev-5786fffa96ae7c3f8111e29fb62e073a45efc557.zip op-kernel-dev-5786fffa96ae7c3f8111e29fb62e073a45efc557.tar.gz |
KVM: s390: Add architectural trace events
Add trace events for several s390 architecture specifics:
- SIE entry/exit
- common intercepts
- common instructions (sigp/diagnose)
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/sigp.c')
-rw-r--r-- | arch/s390/kvm/sigp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/kvm/sigp.c b/arch/s390/kvm/sigp.c index 56f80e1..566ddf6 100644 --- a/arch/s390/kvm/sigp.c +++ b/arch/s390/kvm/sigp.c @@ -18,6 +18,7 @@ #include <asm/sigp.h> #include "gaccess.h" #include "kvm-s390.h" +#include "trace.h" static int __sigp_sense(struct kvm_vcpu *vcpu, u16 cpu_addr, u64 *reg) @@ -344,6 +345,7 @@ int kvm_s390_handle_sigp(struct kvm_vcpu *vcpu) else parameter = vcpu->run->s.regs.gprs[r1 + 1]; + trace_kvm_s390_handle_sigp(vcpu, order_code, cpu_addr, parameter); switch (order_code) { case SIGP_SENSE: vcpu->stat.instruction_sigp_sense++; |