diff options
author | Xenia Ragiadakou <burzalodowa@gmail.com> | 2013-08-14 06:33:54 +0300 |
---|---|---|
committer | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2013-08-13 21:14:42 -0700 |
commit | aa50b29061d3df896c494d92e9c8c2e1f295cc6e (patch) | |
tree | 886f57b61cf8d9d20965832492ef36022ae66d36 /drivers/usb/host/xhci-trace.h | |
parent | 63a23b9a7451660525c90b08219e14e701e294f1 (diff) | |
download | op-kernel-dev-aa50b29061d3df896c494d92e9c8c2e1f295cc6e.zip op-kernel-dev-aa50b29061d3df896c494d92e9c8c2e1f295cc6e.tar.gz |
xhci: trace debug statements for urb cancellation
This patch defines a new trace event, which is called xhci_dbg_cancel_urb
and belongs to the event class xhci_log_msg, and adds tracepoints that
trace the debug messages related to the removal of a cancelled URB from
the endpoint's transfer ring.
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.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci-trace.h b/drivers/usb/host/xhci-trace.h index d6c2229..c0eaccc 100644 --- a/drivers/usb/host/xhci-trace.h +++ b/drivers/usb/host/xhci-trace.h @@ -52,6 +52,11 @@ DEFINE_EVENT(xhci_log_msg, xhci_dbg_reset_ep, TP_ARGS(vaf) ); +DEFINE_EVENT(xhci_log_msg, xhci_dbg_cancel_urb, + TP_PROTO(struct va_format *vaf), + TP_ARGS(vaf) +); + DECLARE_EVENT_CLASS(xhci_log_ctx, TP_PROTO(struct xhci_hcd *xhci, struct xhci_container_ctx *ctx, unsigned int ep_num), |