1 #if !defined(_DRM_TRACE_H_) || defined(TRACE_HEADER_MULTI_READ)
4 #include <linux/stringify.h>
5 #include <linux/types.h>
6 #include <linux/tracepoint.h>
9 #define TRACE_SYSTEM drm
10 #define TRACE_INCLUDE_FILE drm_trace
12 TRACE_EVENT(drm_vblank_event
,
13 TP_PROTO(int crtc
, unsigned int seq
),
17 __field(unsigned int, seq
)
23 TP_printk("crtc=%d, seq=%u", __entry
->crtc
, __entry
->seq
)
26 TRACE_EVENT(drm_vblank_event_queued
,
27 TP_PROTO(struct drm_file
*file
, int crtc
, unsigned int seq
),
28 TP_ARGS(file
, crtc
, seq
),
30 __field(struct drm_file
*, file
)
32 __field(unsigned int, seq
)
39 TP_printk("file=%p, crtc=%d, seq=%u", __entry
->file
, __entry
->crtc
, \
43 TRACE_EVENT(drm_vblank_event_delivered
,
44 TP_PROTO(struct drm_file
*file
, int crtc
, unsigned int seq
),
45 TP_ARGS(file
, crtc
, seq
),
47 __field(struct drm_file
*, file
)
49 __field(unsigned int, seq
)
56 TP_printk("file=%p, crtc=%d, seq=%u", __entry
->file
, __entry
->crtc
, \
60 #endif /* _DRM_TRACE_H_ */
62 /* This part must be outside protection */
63 #undef TRACE_INCLUDE_PATH
64 #define TRACE_INCLUDE_PATH .
65 #include <trace/define_trace.h>