summaryrefslogtreecommitdiff
path: root/arch/s390/kvm/trace.h
diff options
context:
space:
mode:
authorAlexander Yarygin <yarygin@linux.vnet.ibm.com>2016-05-06 15:47:19 +0300
committerChristian Borntraeger <borntraeger@de.ibm.com>2016-06-10 13:07:13 +0300
commitc1778e515712dae0575657fe6c9511ffcb28a7e0 (patch)
treef6dceba1b141cf11774fe972662cd12d14f52bb2 /arch/s390/kvm/trace.h
parent7d0a5e62411a9223512c6af2e4c08a2d7c00fa2e (diff)
downloadlinux-c1778e515712dae0575657fe6c9511ffcb28a7e0.tar.xz
KVM: s390: Add mnemonic print to kvm_s390_intercept_prog
We have a table of mnemonic names for intercepted program interruptions, let's print readable name of the interruption in the kvm_s390_intercept_prog trace event. Signed-off-by: Alexander Yarygin <yarygin@linux.vnet.ibm.com> Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/s390/kvm/trace.h')
-rw-r--r--arch/s390/kvm/trace.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/s390/kvm/trace.h b/arch/s390/kvm/trace.h
index a429ef9b0d30..1c4586b367a4 100644
--- a/arch/s390/kvm/trace.h
+++ b/arch/s390/kvm/trace.h
@@ -185,8 +185,10 @@ TRACE_EVENT(kvm_s390_intercept_prog,
__entry->code = code;
),
- VCPU_TP_PRINTK("intercepted program interruption %04x",
- __entry->code)
+ VCPU_TP_PRINTK("intercepted program interruption %04x (%s)",
+ __entry->code,
+ __print_symbolic(__entry->code,
+ icpt_prog_codes))
);
/*