Commit c1778e51 authored by Alexander Yarygin's avatar Alexander Yarygin Committed by Christian Borntraeger
Browse files

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: default avatarAlexander Yarygin <yarygin@linux.vnet.ibm.com>
Acked-by: default avatarCornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: default avatarChristian Borntraeger <borntraeger@de.ibm.com>
parent 7d0a5e62
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -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))
	);

/*