brintos

brintos / linux-shallow public Read only

0
0
Text · 758 B · d71dcf9 Raw
34 lines · c
1/* SPDX-License-Identifier: GPL-2.0 */2#undef TRACE_SYSTEM3#define TRACE_INCLUDE_PATH ../../drivers/dma-buf4#define TRACE_SYSTEM sync_trace5 6#if !defined(_TRACE_SYNC_H) || defined(TRACE_HEADER_MULTI_READ)7#define _TRACE_SYNC_H8 9#include "sync_debug.h"10#include <linux/tracepoint.h>11 12TRACE_EVENT(sync_timeline,13	TP_PROTO(struct sync_timeline *timeline),14 15	TP_ARGS(timeline),16 17	TP_STRUCT__entry(18			__string(name, timeline->name)19			__field(u32, value)20	),21 22	TP_fast_assign(23			__assign_str(name);24			__entry->value = timeline->value;25	),26 27	TP_printk("name=%s value=%d", __get_str(name), __entry->value)28);29 30#endif /* if !defined(_TRACE_SYNC_H) || defined(TRACE_HEADER_MULTI_READ) */31 32/* This part must be outside protection */33#include <trace/define_trace.h>34