md/raid: only permit hot-add of compatible integrity profiles
[linux/fpc-iii.git] / sound / pci / hda / hda_intel_trace.h
blob0922d8b1b17d0cc33929abb695b7d8e5e77b9241
1 #undef TRACE_SYSTEM
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),
13 TP_ARGS(chip),
15 TP_STRUCT__entry(
16 __field(int, dev_index)
19 TP_fast_assign(
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),
28 TP_ARGS(chip)
31 DEFINE_EVENT(hda_pm, azx_resume,
32 TP_PROTO(struct azx *chip),
33 TP_ARGS(chip)
36 #ifdef CONFIG_PM
37 DEFINE_EVENT(hda_pm, azx_runtime_suspend,
38 TP_PROTO(struct azx *chip),
39 TP_ARGS(chip)
42 DEFINE_EVENT(hda_pm, azx_runtime_resume,
43 TP_PROTO(struct azx *chip),
44 TP_ARGS(chip)
46 #endif
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>