i2c: mxs: use MXS_DMA_CTRL_WAIT4END instead of DMA_CTRL_ACK
[linux/fpc-iii.git] / include / trace / events / dma_fence.h
blob64e92d56c6a8fab3be92894700fea09942b206ab
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #undef TRACE_SYSTEM
3 #define TRACE_SYSTEM dma_fence
5 #if !defined(_TRACE_DMA_FENCE_H) || defined(TRACE_HEADER_MULTI_READ)
6 #define _TRACE_DMA_FENCE_H
8 #include <linux/tracepoint.h>
10 struct dma_fence;
12 DECLARE_EVENT_CLASS(dma_fence,
14 TP_PROTO(struct dma_fence *fence),
16 TP_ARGS(fence),
18 TP_STRUCT__entry(
19 __string(driver, fence->ops->get_driver_name(fence))
20 __string(timeline, fence->ops->get_timeline_name(fence))
21 __field(unsigned int, context)
22 __field(unsigned int, seqno)
25 TP_fast_assign(
26 __assign_str(driver, fence->ops->get_driver_name(fence))
27 __assign_str(timeline, fence->ops->get_timeline_name(fence))
28 __entry->context = fence->context;
29 __entry->seqno = fence->seqno;
32 TP_printk("driver=%s timeline=%s context=%u seqno=%u",
33 __get_str(driver), __get_str(timeline), __entry->context,
34 __entry->seqno)
37 DEFINE_EVENT(dma_fence, dma_fence_emit,
39 TP_PROTO(struct dma_fence *fence),
41 TP_ARGS(fence)
44 DEFINE_EVENT(dma_fence, dma_fence_init,
46 TP_PROTO(struct dma_fence *fence),
48 TP_ARGS(fence)
51 DEFINE_EVENT(dma_fence, dma_fence_destroy,
53 TP_PROTO(struct dma_fence *fence),
55 TP_ARGS(fence)
58 DEFINE_EVENT(dma_fence, dma_fence_enable_signal,
60 TP_PROTO(struct dma_fence *fence),
62 TP_ARGS(fence)
65 DEFINE_EVENT(dma_fence, dma_fence_signaled,
67 TP_PROTO(struct dma_fence *fence),
69 TP_ARGS(fence)
72 DEFINE_EVENT(dma_fence, dma_fence_wait_start,
74 TP_PROTO(struct dma_fence *fence),
76 TP_ARGS(fence)
79 DEFINE_EVENT(dma_fence, dma_fence_wait_end,
81 TP_PROTO(struct dma_fence *fence),
83 TP_ARGS(fence)
86 #endif /* _TRACE_DMA_FENCE_H */
88 /* This part must be outside protection */
89 #include <trace/define_trace.h>