]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitc1d5fb019f65e1093c77734356f97b6e7ac4d629
tree547851420ab5c4a9d254417f0661336139adae13
parent1e0d0a5fd38192f23304ea2fc2b531fea7c74247
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]