2 #define TRACE_SYSTEM intel-sst
5 * The TRACE_SYSTEM_VAR defaults to TRACE_SYSTEM, but must be a
6 * legitimate C variable. It is not exported to user space.
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
),
25 __field( unsigned int, 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
),
43 DEFINE_EVENT(sst_ipc_msg
, sst_ipc_msg_rx
,
45 TP_PROTO(unsigned int val
),
51 DECLARE_EVENT_CLASS(sst_ipc_mailbox
,
53 TP_PROTO(unsigned int offset
, unsigned int val
),
58 __field( unsigned int, offset
)
59 __field( unsigned int, val
)
63 __entry
->offset
= offset
;
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
),
79 DEFINE_EVENT(sst_ipc_mailbox
, sst_ipc_inbox_wdata
,
81 TP_PROTO(unsigned int offset
, unsigned int val
),
87 DEFINE_EVENT(sst_ipc_mailbox
, sst_ipc_outbox_rdata
,
89 TP_PROTO(unsigned int offset
, unsigned int val
),
95 DEFINE_EVENT(sst_ipc_mailbox
, sst_ipc_outbox_wdata
,
97 TP_PROTO(unsigned int offset
, unsigned int val
),
103 DECLARE_EVENT_CLASS(sst_ipc_mailbox_info
,
105 TP_PROTO(unsigned int size
),
110 __field( unsigned int, size
)
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
),
128 DEFINE_EVENT(sst_ipc_mailbox_info
, sst_ipc_inbox_write
,
130 TP_PROTO(unsigned int size
),
136 DEFINE_EVENT(sst_ipc_mailbox_info
, sst_ipc_outbox_read
,
138 TP_PROTO(unsigned int size
),
144 DEFINE_EVENT(sst_ipc_mailbox_info
, sst_ipc_outbox_write
,
146 TP_PROTO(unsigned int size
),
152 #endif /* _TRACE_SST_H */
154 /* This part must be outside protection */
155 #include <trace/define_trace.h>