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_SYSTEM_STRING __stringify(TRACE_SYSTEM)
11 #define TRACE_INCLUDE_FILE drm_trace
13 TRACE_EVENT(drm_vblank_event
,
14 TP_PROTO(int crtc
, unsigned int seq
),
18 __field(unsigned int, seq
)
24 TP_printk("crtc=%d, seq=%u", __entry
->crtc
, __entry
->seq
)
27 TRACE_EVENT(drm_vblank_event_queued
,
28 TP_PROTO(pid_t pid
, int crtc
, unsigned int seq
),
29 TP_ARGS(pid
, crtc
, seq
),
33 __field(unsigned int, seq
)
40 TP_printk("pid=%d, crtc=%d, seq=%u", __entry
->pid
, __entry
->crtc
, \
44 TRACE_EVENT(drm_vblank_event_delivered
,
45 TP_PROTO(pid_t pid
, int crtc
, unsigned int seq
),
46 TP_ARGS(pid
, crtc
, seq
),
50 __field(unsigned int, seq
)
57 TP_printk("pid=%d, crtc=%d, seq=%u", __entry
->pid
, __entry
->crtc
, \
61 #endif /* _DRM_TRACE_H_ */
63 /* This part must be outside protection */
64 #undef TRACE_INCLUDE_PATH
65 #define TRACE_INCLUDE_PATH .
66 #include <trace/define_trace.h>