aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci-trace.h
diff options
context:
space:
mode:
authorXenia Ragiadakou <burzalodowa@gmail.com>2013-08-06 00:52:46 -0400
committerSarah Sharp <sarah.a.sharp@linux.intel.com>2013-08-13 19:05:43 -0400
commita0254324eeea3b00676eeb54ba80774a46cb8afb (patch)
tree69b73e4bea25d9e12d0348a11d411c31575e1e66 /drivers/usb/host/xhci-trace.h
parent4bdfe4c38fd5b06da558050a3288a0a48825a3e7 (diff)
xhci: add trace for debug messages related to endpoint reset
This patch defines a new trace event, which is called xhci_dbg_reset_ep and belongs in the event class xhci_log_msg, and adds tracepoints that trace the debug messages associated with resetting an endpoint after the reception of a STALL packet. Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com> Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Diffstat (limited to 'drivers/usb/host/xhci-trace.h')
-rw-r--r--drivers/usb/host/xhci-trace.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci-trace.h b/drivers/usb/host/xhci-trace.h
index f0447c6cb29b..757b26f6e37b 100644
--- a/drivers/usb/host/xhci-trace.h
+++ b/drivers/usb/host/xhci-trace.h
@@ -46,6 +46,11 @@ DEFINE_EVENT(xhci_log_msg, xhci_dbg_quirks,
46 TP_ARGS(vaf) 46 TP_ARGS(vaf)
47); 47);
48 48
49DEFINE_EVENT(xhci_log_msg, xhci_dbg_reset_ep,
50 TP_PROTO(struct va_format *vaf),
51 TP_ARGS(vaf)
52);
53
49#endif /* __XHCI_TRACE_H */ 54#endif /* __XHCI_TRACE_H */
50 55
51/* this part must be outside header guard */ 56/* this part must be outside header guard */