]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
KVM: s390: Add mnemonic print to kvm_s390_intercept_prog
authorAlexander Yarygin <yarygin@linux.vnet.ibm.com>
Fri, 6 May 2016 12:47:19 +0000 (15:47 +0300)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 10 Jun 2016 10:07:13 +0000 (12:07 +0200)
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>
arch/s390/kvm/trace.h

index a429ef9b0d30413b1bc6a0951f7146b8265879e8..1c4586b367a44364dd30f15da145f28d91c8af8a 100644 (file)
@@ -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))
        );
 
 /*