diff options
author | David Hildenbrand <dahi@linux.vnet.ibm.com> | 2014-11-21 09:39:06 -0500 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2015-03-06 07:40:58 -0500 |
commit | 16a0c4c3aa68423b306fb82f6b9a2794e76f6fc0 (patch) | |
tree | f6db27a9b13b1a24fe7f2542ba3fcb63f6d74faa /arch/s390/include/uapi/asm/sie.h | |
parent | 16b0fc13d60293ce073c8f9baa53469744b4d74a (diff) |
KVM: s390: fix instruction interception trace point
trace-cmd fails to parse the instruction interception trace point:
"Error: expected type 5 but read 4
failed to read event print fmt for kvm_s390_intercept_instruction"
The result is an unformatted string in the output, with a warning:
"kvm_s390_intercept_instruction: [FAILED TO PARSE]..."
So let's add parentheses around the instruction parser macro to fix the format
parsing.
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/s390/include/uapi/asm/sie.h')
-rw-r--r-- | arch/s390/include/uapi/asm/sie.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/s390/include/uapi/asm/sie.h b/arch/s390/include/uapi/asm/sie.h index d4096fdfc6ab..ee69c0854c88 100644 --- a/arch/s390/include/uapi/asm/sie.h +++ b/arch/s390/include/uapi/asm/sie.h | |||
@@ -230,7 +230,7 @@ | |||
230 | * and returns a key, which can be used to find a mnemonic name | 230 | * and returns a key, which can be used to find a mnemonic name |
231 | * of the instruction in the icpt_insn_codes table. | 231 | * of the instruction in the icpt_insn_codes table. |
232 | */ | 232 | */ |
233 | #define icpt_insn_decoder(insn) \ | 233 | #define icpt_insn_decoder(insn) ( \ |
234 | INSN_DECODE_IPA0(0x01, insn, 48, 0xff) \ | 234 | INSN_DECODE_IPA0(0x01, insn, 48, 0xff) \ |
235 | INSN_DECODE_IPA0(0xaa, insn, 48, 0x0f) \ | 235 | INSN_DECODE_IPA0(0xaa, insn, 48, 0x0f) \ |
236 | INSN_DECODE_IPA0(0xb2, insn, 48, 0xff) \ | 236 | INSN_DECODE_IPA0(0xb2, insn, 48, 0xff) \ |
@@ -239,6 +239,6 @@ | |||
239 | INSN_DECODE_IPA0(0xe5, insn, 48, 0xff) \ | 239 | INSN_DECODE_IPA0(0xe5, insn, 48, 0xff) \ |
240 | INSN_DECODE_IPA0(0xeb, insn, 16, 0xff) \ | 240 | INSN_DECODE_IPA0(0xeb, insn, 16, 0xff) \ |
241 | INSN_DECODE_IPA0(0xc8, insn, 48, 0x0f) \ | 241 | INSN_DECODE_IPA0(0xc8, insn, 48, 0x0f) \ |
242 | INSN_DECODE(insn) | 242 | INSN_DECODE(insn)) |
243 | 243 | ||
244 | #endif /* _UAPI_ASM_S390_SIE_H */ | 244 | #endif /* _UAPI_ASM_S390_SIE_H */ |