diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2013-12-16 09:45:37 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-01-07 09:51:41 +0100 |
commit | aa32f4c0bcce7dac55bf2639f4a6cf37c5c96934 (patch) | |
tree | 04bc0b91fe4ec0f5983f13673391a08505dd72ef /drivers/media/platform/ti-vpe | |
parent | [media] Documentation/DocBook/media/v4l: fix typo, s/packet/packed/ (diff) | |
download | linux-aa32f4c0bcce7dac55bf2639f4a6cf37c5c96934.tar.xz linux-aa32f4c0bcce7dac55bf2639f4a6cf37c5c96934.zip |
[media] v4l2: move tracepoints to video_usercopy
The (d)qbuf ioctls were traced in the low-level v4l2 ioctl function. The
trace was outside the serialization lock, so that can affect the usefulness
of the timing. In addition, the __user pointer was expected instead of a
proper kernel pointer.
By moving the tracepoints to video_usercopy we ensure that the trace calls
use the correct kernel pointer, and that it happens right after the ioctl
call to the driver, so certainly inside the serialization lock.
In addition, we only trace if the call was successful.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Wade Farnsworth <wade_farnsworth@mentor.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/platform/ti-vpe')
0 files changed, 0 insertions, 0 deletions