]>
git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - include/trace/events/intel-sst.h
2 #define TRACE_SYSTEM intel-sst
4 #if !defined(_TRACE_INTEL_SST_H) || defined(TRACE_HEADER_MULTI_READ)
5 #define _TRACE_INTEL_SST_H
7 #include <linux/types.h>
8 #include <linux/ktime.h>
9 #include <linux/tracepoint.h>
11 DECLARE_EVENT_CLASS(sst_ipc_msg
,
13 TP_PROTO(unsigned int val
),
18 __field( unsigned int, val
)
25 TP_printk("0x%8.8x", (unsigned int)__entry
->val
)
28 DEFINE_EVENT(sst_ipc_msg
, sst_ipc_msg_tx
,
30 TP_PROTO(unsigned int val
),
36 DEFINE_EVENT(sst_ipc_msg
, sst_ipc_msg_rx
,
38 TP_PROTO(unsigned int val
),
44 DECLARE_EVENT_CLASS(sst_ipc_mailbox
,
46 TP_PROTO(unsigned int offset
, unsigned int val
),
51 __field( unsigned int, offset
)
52 __field( unsigned int, val
)
56 __entry
->offset
= offset
;
60 TP_printk(" 0x%4.4x = 0x%8.8x",
61 (unsigned int)__entry
->offset
, (unsigned int)__entry
->val
)
64 DEFINE_EVENT(sst_ipc_mailbox
, sst_ipc_inbox_rdata
,
66 TP_PROTO(unsigned int offset
, unsigned int val
),
72 DEFINE_EVENT(sst_ipc_mailbox
, sst_ipc_inbox_wdata
,
74 TP_PROTO(unsigned int offset
, unsigned int val
),
80 DEFINE_EVENT(sst_ipc_mailbox
, sst_ipc_outbox_rdata
,
82 TP_PROTO(unsigned int offset
, unsigned int val
),
88 DEFINE_EVENT(sst_ipc_mailbox
, sst_ipc_outbox_wdata
,
90 TP_PROTO(unsigned int offset
, unsigned int val
),
96 DECLARE_EVENT_CLASS(sst_ipc_mailbox_info
,
98 TP_PROTO(unsigned int size
),
103 __field( unsigned int, size
)
107 __entry
->size
= size
;
110 TP_printk("Mailbox bytes 0x%8.8x", (unsigned int)__entry
->size
)
113 DEFINE_EVENT(sst_ipc_mailbox_info
, sst_ipc_inbox_read
,
115 TP_PROTO(unsigned int size
),
121 DEFINE_EVENT(sst_ipc_mailbox_info
, sst_ipc_inbox_write
,
123 TP_PROTO(unsigned int size
),
129 DEFINE_EVENT(sst_ipc_mailbox_info
, sst_ipc_outbox_read
,
131 TP_PROTO(unsigned int size
),
137 DEFINE_EVENT(sst_ipc_mailbox_info
, sst_ipc_outbox_write
,
139 TP_PROTO(unsigned int size
),
145 #endif /* _TRACE_SST_H */
147 /* This part must be outside protection */
148 #include <trace/define_trace.h>