x86/speculation/mds: Fix documentation typo
[linux/fpc-iii.git] / drivers / dma-buf / sync_trace.h
blob06e468a218ff81eb8a280c5375b7e394a9ae2662
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #undef TRACE_SYSTEM
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)
7 #define _TRACE_SYNC_H
9 #include "sync_debug.h"
10 #include <linux/tracepoint.h>
12 TRACE_EVENT(sync_timeline,
13 TP_PROTO(struct sync_timeline *timeline),
15 TP_ARGS(timeline),
17 TP_STRUCT__entry(
18 __string(name, timeline->name)
19 __field(u32, value)
22 TP_fast_assign(
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>