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