0001
0002 #undef TRACE_SYSTEM
0003 #define TRACE_INCLUDE_PATH ../../drivers/dma-buf
0004 #define TRACE_SYSTEM sync_trace
0005
0006 #if !defined(_TRACE_SYNC_H) || defined(TRACE_HEADER_MULTI_READ)
0007 #define _TRACE_SYNC_H
0008
0009 #include "sync_debug.h"
0010 #include <linux/tracepoint.h>
0011
0012 TRACE_EVENT(sync_timeline,
0013 TP_PROTO(struct sync_timeline *timeline),
0014
0015 TP_ARGS(timeline),
0016
0017 TP_STRUCT__entry(
0018 __string(name, timeline->name)
0019 __field(u32, value)
0020 ),
0021
0022 TP_fast_assign(
0023 __assign_str(name, timeline->name);
0024 __entry->value = timeline->value;
0025 ),
0026
0027 TP_printk("name=%s value=%d", __get_str(name), __entry->value)
0028 );
0029
0030 #endif
0031
0032
0033 #include <trace/define_trace.h>