Merge branch 'linus' into x86/asm, to refresh the topic tree with fixes
[linux-2.6-block.git] / drivers / dma-buf / sync_trace.h
CommitLineData
b699a644 1#undef TRACE_SYSTEM
35538d78 2#define TRACE_INCLUDE_PATH ../../drivers/dma-buf
a04f915e 3#define TRACE_SYSTEM sync_trace
b699a644
EG
4
5#if !defined(_TRACE_SYNC_H) || defined(TRACE_HEADER_MULTI_READ)
6#define _TRACE_SYNC_H
7
a04f915e 8#include "sync_debug.h"
b699a644
EG
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)
5c1401f8 18 __field(u32, value)
b699a644
EG
19 ),
20
21 TP_fast_assign(
22 __assign_str(name, timeline->name);
5c1401f8 23 __entry->value = timeline->value;
b699a644
EG
24 ),
25
5c1401f8 26 TP_printk("name=%s value=%d", __get_str(name), __entry->value)
b699a644
EG
27);
28
b699a644
EG
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>