• Philipp Zabel's avatar
    [media] videobuf2: add trace events · 2091f518
    Philipp Zabel authored
    Add videobuf2 specific vb2_qbuf and vb2_dqbuf trace events that mirror the
    v4l2_qbuf and v4l2_dqbuf trace events, only they include additional
    information about queue fill state and are emitted right before the buffer
    is enqueued in the driver or userspace is woken up. This allows to make
    sense of the timeline of trace events in combination with others that might
    be triggered by __enqueue_in_driver.
    
    Also two new trace events vb2_buf_queue and vb2_buf_done are added,
    allowing to trace the handover between videobuf2 framework and driver.
    Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
    Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
    2091f518
videobuf2-core.c 97.6 KB