xref: /linux/arch/powerpc/kvm/trace_book3s.h (revision 3eb66e91a25497065c5322b1268cbc3953642227)
1*b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */
23c78f78aSSuresh E. Warrier #if !defined(_TRACE_KVM_BOOK3S_H)
33c78f78aSSuresh E. Warrier #define _TRACE_KVM_BOOK3S_H
43c78f78aSSuresh E. Warrier 
53c78f78aSSuresh E. Warrier /*
63c78f78aSSuresh E. Warrier  * Common defines used by the trace macros in trace_pr.h and trace_hv.h
73c78f78aSSuresh E. Warrier  */
83c78f78aSSuresh E. Warrier 
93c78f78aSSuresh E. Warrier #define kvm_trace_symbol_exit \
103c78f78aSSuresh E. Warrier 	{0x100, "SYSTEM_RESET"}, \
113c78f78aSSuresh E. Warrier 	{0x200, "MACHINE_CHECK"}, \
123c78f78aSSuresh E. Warrier 	{0x300, "DATA_STORAGE"}, \
133c78f78aSSuresh E. Warrier 	{0x380, "DATA_SEGMENT"}, \
143c78f78aSSuresh E. Warrier 	{0x400, "INST_STORAGE"}, \
153c78f78aSSuresh E. Warrier 	{0x480, "INST_SEGMENT"}, \
163c78f78aSSuresh E. Warrier 	{0x500, "EXTERNAL"}, \
173c78f78aSSuresh E. Warrier 	{0x502, "EXTERNAL_HV"}, \
183c78f78aSSuresh E. Warrier 	{0x600, "ALIGNMENT"}, \
193c78f78aSSuresh E. Warrier 	{0x700, "PROGRAM"}, \
203c78f78aSSuresh E. Warrier 	{0x800, "FP_UNAVAIL"}, \
213c78f78aSSuresh E. Warrier 	{0x900, "DECREMENTER"}, \
223c78f78aSSuresh E. Warrier 	{0x980, "HV_DECREMENTER"}, \
233c78f78aSSuresh E. Warrier 	{0xc00, "SYSCALL"}, \
243c78f78aSSuresh E. Warrier 	{0xd00, "TRACE"}, \
253c78f78aSSuresh E. Warrier 	{0xe00, "H_DATA_STORAGE"}, \
263c78f78aSSuresh E. Warrier 	{0xe20, "H_INST_STORAGE"}, \
273c78f78aSSuresh E. Warrier 	{0xe40, "H_EMUL_ASSIST"}, \
283c78f78aSSuresh E. Warrier 	{0xf00, "PERFMON"}, \
293c78f78aSSuresh E. Warrier 	{0xf20, "ALTIVEC"}, \
303c78f78aSSuresh E. Warrier 	{0xf40, "VSX"}
313c78f78aSSuresh E. Warrier 
323c78f78aSSuresh E. Warrier #endif
33