Linux USB
 help / color / mirror / Atom feed
* [PATCH v3 00/10] usb: gadget: reduce usb gadget trace event buffer usage
@ 2023-09-12 10:44 Linyu Yuan
  2023-09-12 10:44 ` [PATCH v3 01/10] usb: gadget: add anonymous definition in struct usb_gadget Linyu Yuan
                   ` (9 more replies)
  0 siblings, 10 replies; 21+ messages in thread
From: Linyu Yuan @ 2023-09-12 10:44 UTC (permalink / raw)
  To: Thinh Nguyen, Peter Chen, Pawel Laszczak, Roger Quadros,
	Linus Walleij, Chunfeng Yun, Neal Liu, Cristian Birsan, Bin Liu,
	Kevin Cernekee, Justin Chen, Al Cooper, Li Yang,
	Vladimir Zapolskiy, Daniel Mack, Haojian Zhuang, Robert Jarzmik,
	Philipp Zabel, Herve Codina, hierry Reding, Jonathan Hunter,
	Michal Simek, Rui Miguel Silva, Valentina Manea, Shuah Khan,
	Hongren Zheng, Greg Kroah-Hartman
  Cc: linux-usb, Linyu Yuan

some trace event use an interger to to save a bit field info of gadget,
also some trace save endpoint name in string forat, it all can be
chagned to other way at trace event store phase.

bit field can be replace with a union interger member which include
multiple bit fields.

ep name stringe can be replace to a interger which contaion number
and dir info.

v1: https://lore.kernel.org/linux-usb/20230911042843.2711-1-quic_linyyuan@quicinc.com/
v2: fix two compile issues that COMPILE_TEST not covered
    https://lore.kernel.org/linux-usb/20230911112446.1791-1-quic_linyyuan@quicinc.com/
v3: fix reviewer comments, allow bit fields work on both little and big endian

Linyu Yuan (10):
  usb: gadget: add anonymous definition in struct usb_gadget
  usb: gadget: add anonymous definition in struct usb_request
  usb: gadget: add anonymous definition in struct usb_ep
  usb: udc: trace: reduce buffer usage of trace event
  usb: cdns3: cdnsp: reduce buffer usage of trace event
  usb: cdns3: trace: reduce buffer usage of trace event
  usb: dwc3: trace: reduce buffer usage of trace event
  usb: cdns2: trace: reduce buffer usage of trace event
  usb: mtu3: trace: reduce buffer usage of trace event
  usb: musb: trace: reduce buffer usage of trace event

 drivers/usb/cdns3/cdns3-trace.h            |  93 ++++----
 drivers/usb/cdns3/cdnsp-trace.h            |  45 ++--
 drivers/usb/dwc3/trace.h                   |  54 ++---
 drivers/usb/gadget/udc/cdns2/cdns2-trace.h |  77 +++----
 drivers/usb/gadget/udc/trace.h             | 106 +++------
 drivers/usb/mtu3/mtu3_trace.h              |  42 ++--
 drivers/usb/musb/musb_trace.h              |  14 +-
 include/linux/usb/gadget.h                 | 245 +++++++++++++++++----
 8 files changed, 383 insertions(+), 293 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2023-09-14  3:44 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-12 10:44 [PATCH v3 00/10] usb: gadget: reduce usb gadget trace event buffer usage Linyu Yuan
2023-09-12 10:44 ` [PATCH v3 01/10] usb: gadget: add anonymous definition in struct usb_gadget Linyu Yuan
2023-09-12 11:09   ` Greg Kroah-Hartman
2023-09-13  3:46     ` Linyu Yuan
2023-09-13 16:02       ` Alan Stern
2023-09-14  1:08         ` Linyu Yuan
2023-09-14  2:16           ` Alan Stern
2023-09-14  2:25             ` Linyu Yuan
2023-09-14  3:44               ` Linyu Yuan
2023-09-12 15:32   ` Alan Stern
2023-09-13  4:16     ` Linyu Yuan
2023-09-12 10:44 ` [PATCH v3 02/10] usb: gadget: add anonymous definition in struct usb_request Linyu Yuan
2023-09-12 10:44 ` [PATCH v3 03/10] usb: gadget: add anonymous definition in struct usb_ep Linyu Yuan
2023-09-12 10:44 ` [PATCH v3 04/10] usb: udc: trace: reduce buffer usage of trace event Linyu Yuan
2023-09-12 10:44 ` [PATCH v3 05/10] usb: cdns3: cdnsp: " Linyu Yuan
2023-09-12 10:44 ` [PATCH v3 06/10] usb: cdns3: trace: " Linyu Yuan
2023-09-12 10:44 ` [PATCH v3 07/10] usb: dwc3: " Linyu Yuan
2023-09-12 10:44 ` [PATCH v3 08/10] usb: cdns2: " Linyu Yuan
2023-09-12 10:44 ` [PATCH v3 09/10] usb: mtu3: " Linyu Yuan
2023-09-12 10:44 ` [PATCH v3 10/10] usb: musb: " Linyu Yuan
2023-09-12 11:09   ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox