perf hists: Move sort__has_sym into struct perf_hpp_list
[linux/fpc-iii.git] / include / trace / events / intel-sst.h
blobedc24e6dea1bab8341b82cf27d42df57e55d29b5
1 #undef TRACE_SYSTEM
2 #define TRACE_SYSTEM intel-sst
4 /*
5 * The TRACE_SYSTEM_VAR defaults to TRACE_SYSTEM, but must be a
6 * legitimate C variable. It is not exported to user space.
7 */
8 #undef TRACE_SYSTEM_VAR
9 #define TRACE_SYSTEM_VAR intel_sst
11 #if !defined(_TRACE_INTEL_SST_H) || defined(TRACE_HEADER_MULTI_READ)
12 #define _TRACE_INTEL_SST_H
14 #include <linux/types.h>
15 #include <linux/ktime.h>
16 #include <linux/tracepoint.h>
18 DECLARE_EVENT_CLASS(sst_ipc_msg,
20 TP_PROTO(unsigned int val),
22 TP_ARGS(val),
24 TP_STRUCT__entry(
25 __field( unsigned int, val )
28 TP_fast_assign(
29 __entry->val = val;
32 TP_printk("0x%8.8x", (unsigned int)__entry->val)
35 DEFINE_EVENT(sst_ipc_msg, sst_ipc_msg_tx,
37 TP_PROTO(unsigned int val),
39 TP_ARGS(val)
43 DEFINE_EVENT(sst_ipc_msg, sst_ipc_msg_rx,
45 TP_PROTO(unsigned int val),
47 TP_ARGS(val)
51 DECLARE_EVENT_CLASS(sst_ipc_mailbox,
53 TP_PROTO(unsigned int offset, unsigned int val),
55 TP_ARGS(offset, val),
57 TP_STRUCT__entry(
58 __field( unsigned int, offset )
59 __field( unsigned int, val )
62 TP_fast_assign(
63 __entry->offset = offset;
64 __entry->val = val;
67 TP_printk(" 0x%4.4x = 0x%8.8x",
68 (unsigned int)__entry->offset, (unsigned int)__entry->val)
71 DEFINE_EVENT(sst_ipc_mailbox, sst_ipc_inbox_rdata,
73 TP_PROTO(unsigned int offset, unsigned int val),
75 TP_ARGS(offset, val)
79 DEFINE_EVENT(sst_ipc_mailbox, sst_ipc_inbox_wdata,
81 TP_PROTO(unsigned int offset, unsigned int val),
83 TP_ARGS(offset, val)
87 DEFINE_EVENT(sst_ipc_mailbox, sst_ipc_outbox_rdata,
89 TP_PROTO(unsigned int offset, unsigned int val),
91 TP_ARGS(offset, val)
95 DEFINE_EVENT(sst_ipc_mailbox, sst_ipc_outbox_wdata,
97 TP_PROTO(unsigned int offset, unsigned int val),
99 TP_ARGS(offset, val)
103 DECLARE_EVENT_CLASS(sst_ipc_mailbox_info,
105 TP_PROTO(unsigned int size),
107 TP_ARGS(size),
109 TP_STRUCT__entry(
110 __field( unsigned int, size )
113 TP_fast_assign(
114 __entry->size = size;
117 TP_printk("Mailbox bytes 0x%8.8x", (unsigned int)__entry->size)
120 DEFINE_EVENT(sst_ipc_mailbox_info, sst_ipc_inbox_read,
122 TP_PROTO(unsigned int size),
124 TP_ARGS(size)
128 DEFINE_EVENT(sst_ipc_mailbox_info, sst_ipc_inbox_write,
130 TP_PROTO(unsigned int size),
132 TP_ARGS(size)
136 DEFINE_EVENT(sst_ipc_mailbox_info, sst_ipc_outbox_read,
138 TP_PROTO(unsigned int size),
140 TP_ARGS(size)
144 DEFINE_EVENT(sst_ipc_mailbox_info, sst_ipc_outbox_write,
146 TP_PROTO(unsigned int size),
148 TP_ARGS(size)
152 #endif /* _TRACE_SST_H */
154 /* This part must be outside protection */
155 #include <trace/define_trace.h>