]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xhci: show usb device name in xhci urb tracing
authorMathias Nyman <mathias.nyman@linux.intel.com>
Wed, 26 Jun 2024 12:48:16 +0000 (15:48 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jun 2024 14:08:05 +0000 (16:08 +0200)
commitfef267a6c29bb2377e344a060c151041bd4de677
treec1bc1f05fe0dcf741218ea94c5ba362a698d1086
parente6092feacf3f52b447fa2225453b566f32b998af
xhci: show usb device name in xhci urb tracing

parsing xhci traces on systems with several xHCI controllers and connected
usb devices is difficult as entries are all interleaved.

showing usb devname in urb tracing reveals both which device, and which
bus/controller the entry is for.

old:
xhci_urb_enqueue: ep2in-bulk: urb 0000000039224498  ...

new:
xhci_urb_enqueue: 3-9.4 ep1in-bulk: urb 0000000013bf21e7 ...

Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20240626124835.1023046-3-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-trace.h