diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2015-01-29 14:36:00 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-04-10 10:12:31 -0300 |
commit | 9a1a8f9953f3f101ce769878fc7bbbc43a4fd2dc (patch) | |
tree | 0125a883989b58eb2fa29d4b4ddbf2dfae99734f /drivers/media/platform/coda/coda-jpeg.c | |
parent | 8191919bff678ae16050c60e1f86355d7731ac73 (diff) | |
download | linux-9a1a8f9953f3f101ce769878fc7bbbc43a4fd2dc.tar.gz linux-9a1a8f9953f3f101ce769878fc7bbbc43a4fd2dc.tar.xz |
[media] coda: Add tracing support
This patch adds tracepoints to the coda driver that can be used together
with the v4l2:v4l2_qbuf and v4l2:v4l2_dqbuf tracepoints to to follow video
frames through the mem2mem device.
For encoding with the BIT processor:
coda:coda_enc_pic_run
coda:coda_enc_pic_done
For decoding with the BIT processor:
coda:coda_bit_queue
coda:coda_dec_pic_run
coda:coda_dec_pic_done
coda:coda_dec_rot_done
Additionally, two low level tracepoints register whenever the BIT processor
is started and returns:
coda:coda_bit_run
coda:coda_bit_done
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/platform/coda/coda-jpeg.c')
-rw-r--r-- | drivers/media/platform/coda/coda-jpeg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/platform/coda/coda-jpeg.c b/drivers/media/platform/coda/coda-jpeg.c index 8fa3e353f9e2..11e734bc2cbd 100644 --- a/drivers/media/platform/coda/coda-jpeg.c +++ b/drivers/media/platform/coda/coda-jpeg.c @@ -13,6 +13,7 @@ #include <linux/swab.h> #include "coda.h" +#include "trace.h" #define SOI_MARKER 0xffd8 #define EOI_MARKER 0xffd9 |