Srinivas Pandruvada | ae02e5d | 2016-08-07 02:25:35 -0700 | [diff] [blame] | 1 | #undef TRACE_SYSTEM |
| 2 | #define TRACE_SYSTEM intel_ish |
| 3 | |
| 4 | #if !defined(_TRACE_INTEL_ISH_H) || defined(TRACE_HEADER_MULTI_READ) |
| 5 | #define _TRACE_INTEL_ISH_H |
| 6 | |
| 7 | #include <linux/tracepoint.h> |
| 8 | |
| 9 | TRACE_EVENT(ishtp_dump, |
| 10 | |
| 11 | TP_PROTO(const char *message), |
| 12 | |
| 13 | TP_ARGS(message), |
| 14 | |
| 15 | TP_STRUCT__entry( |
| 16 | __string(message, message) |
| 17 | ), |
| 18 | |
| 19 | TP_fast_assign( |
| 20 | __assign_str(message, message); |
| 21 | ), |
| 22 | |
| 23 | TP_printk("%s", __get_str(message)) |
| 24 | ); |
| 25 | |
| 26 | |
| 27 | #endif /* _TRACE_INTEL_ISH_H */ |
| 28 | |
| 29 | /* This part must be outside protection */ |
| 30 | #include <trace/define_trace.h> |