xref: /linux/arch/powerpc/kvm/trace_book3s.h (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #if !defined(_TRACE_KVM_BOOK3S_H)
3 #define _TRACE_KVM_BOOK3S_H
4 
5 /*
6  * Common defines used by the trace macros in trace_pr.h and trace_hv.h
7  */
8 
9 #define kvm_trace_symbol_exit \
10 	{0x100, "SYSTEM_RESET"}, \
11 	{0x200, "MACHINE_CHECK"}, \
12 	{0x300, "DATA_STORAGE"}, \
13 	{0x380, "DATA_SEGMENT"}, \
14 	{0x400, "INST_STORAGE"}, \
15 	{0x480, "INST_SEGMENT"}, \
16 	{0x500, "EXTERNAL"}, \
17 	{0x502, "EXTERNAL_HV"}, \
18 	{0x600, "ALIGNMENT"}, \
19 	{0x700, "PROGRAM"}, \
20 	{0x800, "FP_UNAVAIL"}, \
21 	{0x900, "DECREMENTER"}, \
22 	{0x980, "HV_DECREMENTER"}, \
23 	{0xc00, "SYSCALL"}, \
24 	{0xd00, "TRACE"}, \
25 	{0xe00, "H_DATA_STORAGE"}, \
26 	{0xe20, "H_INST_STORAGE"}, \
27 	{0xe40, "H_EMUL_ASSIST"}, \
28 	{0xf00, "PERFMON"}, \
29 	{0xf20, "ALTIVEC"}, \
30 	{0xf40, "VSX"}
31 
32 #endif
33