1 /* SPDX-License-Identifier: GPL-2.0 */
3 #define TRACE_INCLUDE_PATH ../../drivers/dma-buf
4 #define TRACE_SYSTEM sync_trace
6 #if !defined(_TRACE_SYNC_H) || defined(TRACE_HEADER_MULTI_READ)
9 #include "sync_debug.h"
10 #include <linux/tracepoint.h>
12 TRACE_EVENT(sync_timeline
,
13 TP_PROTO(struct sync_timeline
*timeline
),
18 __string(name
, timeline
->name
)
23 __assign_str(name
, timeline
->name
);
24 __entry
->value
= timeline
->value
;
27 TP_printk("name=%s value=%d", __get_str(name
), __entry
->value
)
30 #endif /* if !defined(_TRACE_SYNC_H) || defined(TRACE_HEADER_MULTI_READ) */
32 /* This part must be outside protection */
33 #include <trace/define_trace.h>