Skip to content

usb: xhci: several patches for xhci trace

Lu Baolu lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6usb: xhci: add xhci_log_cmd trace eventsdrivers/usb/host/xhci-hub.c drivers/usb/host/xhci-ring.c drivers/usb/host/xhci-trace.h +1 more+108 -44 replies
2/6usb: xhci: enhance xhci_log_ctx trace eventsdrivers/usb/host/xhci-trace.h drivers/usb/host/xhci.c drivers/usb/host/xhci.h+121 -252 replies
3/6usb: xhci: remove xhci_debug_trb()drivers/usb/host/xhci-dbg.c drivers/usb/host/xhci-ring.c drivers/usb/host/xhci.h+0 -630 replies
4/6usb: xhci: remove xhci_dbg_ctx()drivers/usb/host/xhci-dbg.c drivers/usb/host/xhci.c drivers/usb/host/xhci.h+0 -1810 replies
5/6usb: xhci: fix link trb decodingdrivers/usb/host/xhci.h+5 -70 replies
6/6usb: xhci: cleanup xhci_decode_trb() slightlydrivers/usb/host/xhci.h+18 -180 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] usb: xhci: several patches for xhci trace

Hi Mathias,

This patch set includes several patches for traces in xhci driver. One trace class is for command. Several trace events are defined to trace the life cycle of any xhci command. The other trace class is for context. Several trace events are defined to trace the change in input/output device contexts of a USB device.

This also includes some cleanups to remove duplicated code.

Best regards,
Lu Baolu

Lu Baolu (6):
usb: xhci: add xhci_log_cmd trace events
usb: xhci: enhance xhci_log_ctx trace events
usb: xhci: remove xhci_debug_trb()
usb: xhci: remove xhci_dbg_ctx()
usb: xhci: fix link trb decoding
usb: xhci: cleanup xhci_decode_trb() slightly

 drivers/usb/host/xhci-dbg.c   | 200 ------------------------------------------
 drivers/usb/host/xhci-hub.c   |   2 +
 drivers/usb/host/xhci-ring.c  |  17 ++--
 drivers/usb/host/xhci-trace.h | 153 ++++++++++++++++++++++++++++----
 drivers/usb/host/xhci.c       |  67 +++++---------
 drivers/usb/host/xhci.h       | 111 +++++++++++++++++------
 6 files changed, 252 insertions(+), 298 deletions(-)
Signature · 1 line
2.1.4