USB Monitor

modulename: usbmon.ko

configname: CONFIG_USB_MON

Linux Kernel Configuration
└─>Device Drivers
└─>USB support
└─>USB Monitor
In linux kernel since version 2.6.20 (release Date: 2007-02-04)
If you select this option, a component which captures the USB traffic
between peripheral-specific drivers and HC drivers will be built.
For more information, see <a href="https://www.kernel.org/doc/Documentation/usb/usbmon.rst">Documentation/usb/usbmon.rst</a>.

If unsure, say Y, if allowed, otherwise M.
source code: