1 /* SPDX-License-Identifier: GPL-2.0 */
3 #define TRACE_SYSTEM intel_ifs
5 #if !defined(_TRACE_IFS_H) || defined(TRACE_HEADER_MULTI_READ)
8 #include <linux/ktime.h>
9 #include <linux/tracepoint.h>
11 TRACE_EVENT(ifs_status
,
13 TP_PROTO(int batch
, int start
, int stop
, u64 status
),
15 TP_ARGS(batch
, start
, stop
, status
),
19 __field( u64
, status
)
25 __entry
->batch
= batch
;
26 __entry
->start
= start
;
28 __entry
->status
= status
;
31 TP_printk("batch: 0x%.2x, start: 0x%.4x, stop: 0x%.4x, status: 0x%.16llx",
40 TP_PROTO(int batch
, union ifs_sbaf activate
, union ifs_sbaf_status status
),
42 TP_ARGS(batch
, activate
, status
),
45 __field( u64
, status
)
47 __field( u16
, bundle
)
52 __entry
->status
= status
.data
;
53 __entry
->batch
= batch
;
54 __entry
->bundle
= activate
.bundle_idx
;
55 __entry
->pgm
= activate
.pgm_idx
;
58 TP_printk("batch: 0x%.2x, bundle_idx: 0x%.4x, pgm_idx: 0x%.4x, status: 0x%.16llx",
65 #endif /* _TRACE_IFS_H */
67 /* This part must be outside protection */
68 #include <trace/define_trace.h>