|
@@ -24,36 +24,36 @@ TRACE_EVENT(drm_vblank_event,
|
|
|
);
|
|
|
|
|
|
TRACE_EVENT(drm_vblank_event_queued,
|
|
|
- TP_PROTO(pid_t pid, int crtc, unsigned int seq),
|
|
|
- TP_ARGS(pid, crtc, seq),
|
|
|
+ TP_PROTO(struct drm_file *file, int crtc, unsigned int seq),
|
|
|
+ TP_ARGS(file, crtc, seq),
|
|
|
TP_STRUCT__entry(
|
|
|
- __field(pid_t, pid)
|
|
|
+ __field(struct drm_file *, file)
|
|
|
__field(int, crtc)
|
|
|
__field(unsigned int, seq)
|
|
|
),
|
|
|
TP_fast_assign(
|
|
|
- __entry->pid = pid;
|
|
|
+ __entry->file = file;
|
|
|
__entry->crtc = crtc;
|
|
|
__entry->seq = seq;
|
|
|
),
|
|
|
- TP_printk("pid=%d, crtc=%d, seq=%u", __entry->pid, __entry->crtc, \
|
|
|
+ TP_printk("file=%p, crtc=%d, seq=%u", __entry->file, __entry->crtc, \
|
|
|
__entry->seq)
|
|
|
);
|
|
|
|
|
|
TRACE_EVENT(drm_vblank_event_delivered,
|
|
|
- TP_PROTO(pid_t pid, int crtc, unsigned int seq),
|
|
|
- TP_ARGS(pid, crtc, seq),
|
|
|
+ TP_PROTO(struct drm_file *file, int crtc, unsigned int seq),
|
|
|
+ TP_ARGS(file, crtc, seq),
|
|
|
TP_STRUCT__entry(
|
|
|
- __field(pid_t, pid)
|
|
|
+ __field(struct drm_file *, file)
|
|
|
__field(int, crtc)
|
|
|
__field(unsigned int, seq)
|
|
|
),
|
|
|
TP_fast_assign(
|
|
|
- __entry->pid = pid;
|
|
|
+ __entry->file = file;
|
|
|
__entry->crtc = crtc;
|
|
|
__entry->seq = seq;
|
|
|
),
|
|
|
- TP_printk("pid=%d, crtc=%d, seq=%u", __entry->pid, __entry->crtc, \
|
|
|
+ TP_printk("file=%p, crtc=%d, seq=%u", __entry->file, __entry->crtc, \
|
|
|
__entry->seq)
|
|
|
);
|
|
|
|