Linux Audio

Check our new training course

Loading...
Note: File does not exist in v3.1.
 1#undef TRACE_SYSTEM
 2#define TRACE_INCLUDE_PATH ../../drivers/dma-buf
 3#define TRACE_SYSTEM sync_trace
 4
 5#if !defined(_TRACE_SYNC_H) || defined(TRACE_HEADER_MULTI_READ)
 6#define _TRACE_SYNC_H
 7
 8#include "sync_debug.h"
 9#include <linux/tracepoint.h>
10
11TRACE_EVENT(sync_timeline,
12	TP_PROTO(struct sync_timeline *timeline),
13
14	TP_ARGS(timeline),
15
16	TP_STRUCT__entry(
17			__string(name, timeline->name)
18			__field(u32, value)
19	),
20
21	TP_fast_assign(
22			__assign_str(name, timeline->name);
23			__entry->value = timeline->value;
24	),
25
26	TP_printk("name=%s value=%d", __get_str(name), __entry->value)
27);
28
29#endif /* if !defined(_TRACE_SYNC_H) || defined(TRACE_HEADER_MULTI_READ) */
30
31/* This part must be outside protection */
32#include <trace/define_trace.h>