.. | .. |
---|
97 | 97 | TP_fast_assign( |
---|
98 | 98 | __entry->minor = ctx->fh.vdev->minor; |
---|
99 | 99 | __entry->index = buf->vb2_buf.index; |
---|
100 | | - __entry->start = meta->start; |
---|
101 | | - __entry->end = meta->end; |
---|
| 100 | + __entry->start = meta->start & ctx->bitstream_fifo.kfifo.mask; |
---|
| 101 | + __entry->end = meta->end & ctx->bitstream_fifo.kfifo.mask; |
---|
102 | 102 | __entry->ctx = ctx->idx; |
---|
103 | 103 | ), |
---|
104 | 104 | |
---|
.. | .. |
---|
127 | 127 | |
---|
128 | 128 | TP_fast_assign( |
---|
129 | 129 | __entry->minor = ctx->fh.vdev->minor; |
---|
130 | | - __entry->start = meta ? meta->start : 0; |
---|
131 | | - __entry->end = meta ? meta->end : 0; |
---|
| 130 | + __entry->start = meta ? (meta->start & |
---|
| 131 | + ctx->bitstream_fifo.kfifo.mask) : 0; |
---|
| 132 | + __entry->end = meta ? (meta->end & |
---|
| 133 | + ctx->bitstream_fifo.kfifo.mask) : 0; |
---|
132 | 134 | __entry->ctx = ctx->idx; |
---|
133 | 135 | ), |
---|
134 | 136 | |
---|
.. | .. |
---|
152 | 154 | TP_ARGS(ctx, buf, meta) |
---|
153 | 155 | ); |
---|
154 | 156 | |
---|
| 157 | +DEFINE_EVENT(coda_buf_class, coda_jpeg_run, |
---|
| 158 | + TP_PROTO(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf), |
---|
| 159 | + TP_ARGS(ctx, buf) |
---|
| 160 | +); |
---|
| 161 | + |
---|
| 162 | +DEFINE_EVENT(coda_buf_class, coda_jpeg_done, |
---|
| 163 | + TP_PROTO(struct coda_ctx *ctx, struct vb2_v4l2_buffer *buf), |
---|
| 164 | + TP_ARGS(ctx, buf) |
---|
| 165 | +); |
---|
| 166 | + |
---|
155 | 167 | #endif /* __CODA_TRACE_H__ */ |
---|
156 | 168 | |
---|
157 | 169 | #undef TRACE_INCLUDE_PATH |
---|
158 | | -#define TRACE_INCLUDE_PATH . |
---|
| 170 | +#define TRACE_INCLUDE_PATH ../../drivers/media/platform/coda |
---|
159 | 171 | #undef TRACE_INCLUDE_FILE |
---|
160 | 172 | #define TRACE_INCLUDE_FILE trace |
---|
161 | 173 | |
---|