On Fri, Sep 15, 2023 at 01:27:14PM +0800, Linyu Yuan wrote: > Some UDC trace event will save usb udc information, but it use one int > size buffer to save one bit information of usb udc, it waste trace buffer. How much waste exactly? > Add anonymous union which have u32 members can be used by trace event > during fast assign stage to save more entries with same trace ring buffer > size. Are you sure? > Also add some trace event purpose macro in this file for all possiable > use. When you say "also" in a changelog, that means the change should be split up into multiple patches. > +/*-------------------------------------------------------------------------*/ > +/* trace only, data in __le32 format at trace event fast assign stage */ > +#define USB_GADGET_SG_SUPPORTED BIT(0) <snip> This will not work well at all, and is probably broken as-is, sorry, please rethink all of this. greg k-h