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 <file:Documentation/usb/usbmon.rst>.

If unsure, say Y, if allowed, otherwise M.

source code: