2 #define TRACE_SYSTEM hda_intel
3 #define TRACE_INCLUDE_FILE hda_intel_trace
5 #if !defined(_TRACE_HDA_INTEL_H) || defined(TRACE_HEADER_MULTI_READ)
6 #define _TRACE_HDA_INTEL_H
8 #include <linux/tracepoint.h>
10 DECLARE_EVENT_CLASS(hda_pm
,
11 TP_PROTO(struct azx
*chip
),
16 __field(int, dev_index
)
20 __entry
->dev_index
= (chip
)->dev_index
;
23 TP_printk("card index: %d", __entry
->dev_index
)
26 DEFINE_EVENT(hda_pm
, azx_suspend
,
27 TP_PROTO(struct azx
*chip
),
31 DEFINE_EVENT(hda_pm
, azx_resume
,
32 TP_PROTO(struct azx
*chip
),
37 DEFINE_EVENT(hda_pm
, azx_runtime_suspend
,
38 TP_PROTO(struct azx
*chip
),
42 DEFINE_EVENT(hda_pm
, azx_runtime_resume
,
43 TP_PROTO(struct azx
*chip
),
48 #endif /* _TRACE_HDA_INTEL_H */
50 /* This part must be outside protection */
51 #undef TRACE_INCLUDE_PATH
52 #define TRACE_INCLUDE_PATH .
53 #include <trace/define_trace.h>