diff options
Diffstat (limited to 'drivers/media/platform/coda/trace.h')
-rw-r--r-- | drivers/media/platform/coda/trace.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/media/platform/coda/trace.h b/drivers/media/platform/coda/trace.h index 9db6a6662913..f20666a4aa89 100644 --- a/drivers/media/platform/coda/trace.h +++ b/drivers/media/platform/coda/trace.h | |||
@@ -49,7 +49,7 @@ TRACE_EVENT(coda_bit_done, | |||
49 | ); | 49 | ); |
50 | 50 | ||
51 | DECLARE_EVENT_CLASS(coda_buf_class, | 51 | DECLARE_EVENT_CLASS(coda_buf_class, |
52 | TP_PROTO(struct coda_ctx *ctx, struct vb2_buffer *buf), | 52 | TP_PROTO(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf), |
53 | 53 | ||
54 | TP_ARGS(ctx, buf), | 54 | TP_ARGS(ctx, buf), |
55 | 55 | ||
@@ -61,7 +61,7 @@ DECLARE_EVENT_CLASS(coda_buf_class, | |||
61 | 61 | ||
62 | TP_fast_assign( | 62 | TP_fast_assign( |
63 | __entry->minor = ctx->fh.vdev->minor; | 63 | __entry->minor = ctx->fh.vdev->minor; |
64 | __entry->index = buf->v4l2_buf.index; | 64 | __entry->index = buf->vb2_buf.index; |
65 | __entry->ctx = ctx->idx; | 65 | __entry->ctx = ctx->idx; |
66 | ), | 66 | ), |
67 | 67 | ||
@@ -70,17 +70,17 @@ DECLARE_EVENT_CLASS(coda_buf_class, | |||
70 | ); | 70 | ); |
71 | 71 | ||
72 | DEFINE_EVENT(coda_buf_class, coda_enc_pic_run, | 72 | DEFINE_EVENT(coda_buf_class, coda_enc_pic_run, |
73 | TP_PROTO(struct coda_ctx *ctx, struct vb2_buffer *buf), | 73 | TP_PROTO(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf), |
74 | TP_ARGS(ctx, buf) | 74 | TP_ARGS(ctx, buf) |
75 | ); | 75 | ); |
76 | 76 | ||
77 | DEFINE_EVENT(coda_buf_class, coda_enc_pic_done, | 77 | DEFINE_EVENT(coda_buf_class, coda_enc_pic_done, |
78 | TP_PROTO(struct coda_ctx *ctx, struct vb2_buffer *buf), | 78 | TP_PROTO(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf), |
79 | TP_ARGS(ctx, buf) | 79 | TP_ARGS(ctx, buf) |
80 | ); | 80 | ); |
81 | 81 | ||
82 | DECLARE_EVENT_CLASS(coda_buf_meta_class, | 82 | DECLARE_EVENT_CLASS(coda_buf_meta_class, |
83 | TP_PROTO(struct coda_ctx *ctx, struct vb2_buffer *buf, | 83 | TP_PROTO(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf, |
84 | struct coda_buffer_meta *meta), | 84 | struct coda_buffer_meta *meta), |
85 | 85 | ||
86 | TP_ARGS(ctx, buf, meta), | 86 | TP_ARGS(ctx, buf, meta), |
@@ -95,7 +95,7 @@ DECLARE_EVENT_CLASS(coda_buf_meta_class, | |||
95 | 95 | ||
96 | TP_fast_assign( | 96 | TP_fast_assign( |
97 | __entry->minor = ctx->fh.vdev->minor; | 97 | __entry->minor = ctx->fh.vdev->minor; |
98 | __entry->index = buf->v4l2_buf.index; | 98 | __entry->index = buf->vb2_buf.index; |
99 | __entry->start = meta->start; | 99 | __entry->start = meta->start; |
100 | __entry->end = meta->end; | 100 | __entry->end = meta->end; |
101 | __entry->ctx = ctx->idx; | 101 | __entry->ctx = ctx->idx; |
@@ -107,7 +107,7 @@ DECLARE_EVENT_CLASS(coda_buf_meta_class, | |||
107 | ); | 107 | ); |
108 | 108 | ||
109 | DEFINE_EVENT(coda_buf_meta_class, coda_bit_queue, | 109 | DEFINE_EVENT(coda_buf_meta_class, coda_bit_queue, |
110 | TP_PROTO(struct coda_ctx *ctx, struct vb2_buffer *buf, | 110 | TP_PROTO(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf, |
111 | struct coda_buffer_meta *meta), | 111 | struct coda_buffer_meta *meta), |
112 | TP_ARGS(ctx, buf, meta) | 112 | TP_ARGS(ctx, buf, meta) |
113 | ); | 113 | ); |
@@ -146,7 +146,7 @@ DEFINE_EVENT(coda_meta_class, coda_dec_pic_done, | |||
146 | ); | 146 | ); |
147 | 147 | ||
148 | DEFINE_EVENT(coda_buf_meta_class, coda_dec_rot_done, | 148 | DEFINE_EVENT(coda_buf_meta_class, coda_dec_rot_done, |
149 | TP_PROTO(struct coda_ctx *ctx, struct vb2_buffer *buf, | 149 | TP_PROTO(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf, |
150 | struct coda_buffer_meta *meta), | 150 | struct coda_buffer_meta *meta), |
151 | TP_ARGS(ctx, buf, meta) | 151 | TP_ARGS(ctx, buf, meta) |
152 | ); | 152 | ); |