]> www.infradead.org Git - users/jedix/linux-maple.git/commit
usb: gadget: uvc: add trace of enqueued and completed requests
authorMichael Grzeschik <m.grzeschik@pengutronix.de>
Wed, 16 Oct 2024 13:58:13 +0000 (15:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Oct 2024 06:42:23 +0000 (08:42 +0200)
commit757f5d0b61dea4d16eaf2c3fa860bd458a4d3ec6
tree4ec20c17c50a53d983c6a67d7e1c7b56c318bc16
parent1dc2527ce89273b56b43dbe1193c679f00cfc153
usb: gadget: uvc: add trace of enqueued and completed requests

This patch is adding trace events for each request that is being
enqueued into the hw and will be completed. This way it is possible
to track the fill status of the gadget hardware and find potential
issues.

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Link: https://lore.kernel.org/r/20240403-uvc_request_length_by_interval-v7-8-e224bb1035f0@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/function/Makefile
drivers/usb/gadget/function/uvc_trace.c [new file with mode: 0644]
drivers/usb/gadget/function/uvc_trace.h [new file with mode: 0644]
drivers/usb/gadget/function/uvc_video.c