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
),
15 __string(instr
, instr
)
20 __assign_str(instr
, instr
);
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>