]> git.baikalelectronics.ru Git - kernel.git/commit
media: usb: pwc: Introduce TRACE_EVENTs for pwc_isoc_handler()
authorMatwey V. Kornilov <matwey@sai.msu.ru>
Fri, 9 Nov 2018 19:03:26 +0000 (14:03 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 16 Jan 2019 16:15:11 +0000 (11:15 -0500)
commitb02505125859472d886ad599a1b20fdc5be66bcc
tree547851420ab5c4a9d254417f0661336139adae13
parent31294519d8788f5b7f5b003014e9e94407dd1a58
media: usb: pwc: Introduce TRACE_EVENTs for pwc_isoc_handler()

There were reports that PWC-based webcams don't work at some
embedded ARM platforms. [1] Isochronous transfer handler seems to
work too long leading to the issues in MUSB USB host subsystem.
Also note, that urb->giveback() handlers are still called with
disabled interrupts. In order to be able to measure performance of
PWC driver, traces are introduced in URB handler section.

[1] https://www.spinics.net/lists/linux-usb/msg165735.html

Signed-off-by: Matwey V. Kornilov <matwey@sai.msu.ru>
Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/usb/pwc/pwc-if.c
include/trace/events/pwc.h [new file with mode: 0644]