x86/mm/pat: Don't report PAT on CPUs that don't support it
[linux/fpc-iii.git] / arch / arm64 / kernel / trace-events-emulation.h
blobae1dd598ea65f16f766b2650028e6c5be6f61296
1 #undef TRACE_SYSTEM
2 #define TRACE_SYSTEM emulation
4 #if !defined(_TRACE_EMULATION_H) || defined(TRACE_HEADER_MULTI_READ)
5 #define _TRACE_EMULATION_H
7 #include <linux/tracepoint.h>
9 TRACE_EVENT(instruction_emulation,
11 TP_PROTO(const char *instr, u64 addr),
12 TP_ARGS(instr, addr),
14 TP_STRUCT__entry(
15 __string(instr, instr)
16 __field(u64, addr)
19 TP_fast_assign(
20 __assign_str(instr, instr);
21 __entry->addr = addr;
24 TP_printk("instr=\"%s\" addr=0x%llx", __get_str(instr), __entry->addr)
27 #endif /* _TRACE_EMULATION_H */
29 /* This part must be outside protection */
30 #undef TRACE_INCLUDE_PATH
31 #undef TRACE_INCLUDE_FILE
32 #define TRACE_INCLUDE_PATH .
34 #define TRACE_INCLUDE_FILE trace-events-emulation
35 #include <trace/define_trace.h>