mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-28 09:22:08 +00:00

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>
12 lines
240 B
C
12 lines
240 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* trace.c - USB UVC Gadget Trace Support
|
|
*
|
|
* Copyright (C) 2024 Pengutronix e.K.
|
|
*
|
|
* Author: Michael Grzeschik <m.grzeschik@pengutronix.de>
|
|
*/
|
|
|
|
#define CREATE_TRACE_POINTS
|
|
#include "uvc_trace.h"
|