diff options
author | Seung-Woo Kim <sw0312.kim@samsung.com> | 2013-07-01 06:44:14 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-07-03 20:55:27 -0400 |
commit | 04274cd058193cefc22f1ebda1e634d96cb59fa5 (patch) | |
tree | 972be462e56b2b5cd22063d2e008ca068527d7f5 /drivers/gpu/drm/drm_trace.h | |
parent | df9b6a9c3333a99d4483e92ca6b225b335567313 (diff) |
drm: fix print format of sequence in trace point
seq of a trace point is unsigned int but print format was %d. So
it fixes the format as %u.
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_trace.h')
-rw-r--r-- | drivers/gpu/drm/drm_trace.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/drm_trace.h b/drivers/gpu/drm/drm_trace.h index 03ea964aa604..27cc95f36381 100644 --- a/drivers/gpu/drm/drm_trace.h +++ b/drivers/gpu/drm/drm_trace.h | |||
@@ -21,7 +21,7 @@ TRACE_EVENT(drm_vblank_event, | |||
21 | __entry->crtc = crtc; | 21 | __entry->crtc = crtc; |
22 | __entry->seq = seq; | 22 | __entry->seq = seq; |
23 | ), | 23 | ), |
24 | TP_printk("crtc=%d, seq=%d", __entry->crtc, __entry->seq) | 24 | TP_printk("crtc=%d, seq=%u", __entry->crtc, __entry->seq) |
25 | ); | 25 | ); |
26 | 26 | ||
27 | TRACE_EVENT(drm_vblank_event_queued, | 27 | TRACE_EVENT(drm_vblank_event_queued, |
@@ -37,7 +37,7 @@ TRACE_EVENT(drm_vblank_event_queued, | |||
37 | __entry->crtc = crtc; | 37 | __entry->crtc = crtc; |
38 | __entry->seq = seq; | 38 | __entry->seq = seq; |
39 | ), | 39 | ), |
40 | TP_printk("pid=%d, crtc=%d, seq=%d", __entry->pid, __entry->crtc, \ | 40 | TP_printk("pid=%d, crtc=%d, seq=%u", __entry->pid, __entry->crtc, \ |
41 | __entry->seq) | 41 | __entry->seq) |
42 | ); | 42 | ); |
43 | 43 | ||
@@ -54,7 +54,7 @@ TRACE_EVENT(drm_vblank_event_delivered, | |||
54 | __entry->crtc = crtc; | 54 | __entry->crtc = crtc; |
55 | __entry->seq = seq; | 55 | __entry->seq = seq; |
56 | ), | 56 | ), |
57 | TP_printk("pid=%d, crtc=%d, seq=%d", __entry->pid, __entry->crtc, \ | 57 | TP_printk("pid=%d, crtc=%d, seq=%u", __entry->pid, __entry->crtc, \ |
58 | __entry->seq) | 58 | __entry->seq) |
59 | ); | 59 | ); |
60 | 60 | ||