xhci: trace debug statements related to ring expansion
authorXenia Ragiadakou <burzalodowa@gmail.com>
Wed, 14 Aug 2013 03:33:56 +0000 (06:33 +0300)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Wed, 14 Aug 2013 04:14:44 +0000 (21:14 -0700)
commit68ffb01111500c769ceac055bdc2fb000322b2d7
treeafe977ee95fc2cdf0248ffbe1722336a2ce3d398
parentd195fcffe4c82cc813cc43df5f27ab99ab38bc07
xhci: trace debug statements related to ring expansion

This patch defines a new trace event, which is called xhci_dbg_ring_expansion
and belongs to the event class xhci_log_msg, and adds tracepoints that trace
the debug messages associated with the expansion of endpoint ring when there
is not enough space allocated to hold all pending TRBs.

Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
drivers/usb/host/xhci-mem.c
drivers/usb/host/xhci-ring.c
drivers/usb/host/xhci-trace.h