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

From: Lu Baolu
Date: Tue Feb 14 2017 - 21:35:52 EST


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(-)

--
2.1.4