aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci-trace.h
diff options
context:
space:
mode:
authorXenia Ragiadakou <burzalodowa@gmail.com>2013-08-06 07:52:45 +0300
committerSarah Sharp <sarah.a.sharp@linux.intel.com>2013-08-13 16:05:41 -0700
commit4bdfe4c38fd5b06da558050a3288a0a48825a3e7 (patch)
treef241e6624b14dca4d6013c0da416d36b8f278734 /drivers/usb/host/xhci-trace.h
parentxhci: add trace for debug messages related to changing contexts (diff)
downloadlinux-dev-4bdfe4c38fd5b06da558050a3288a0a48825a3e7.tar.xz
linux-dev-4bdfe4c38fd5b06da558050a3288a0a48825a3e7.zip
xhci: add trace for debug messages related to quirks
This patch defines a new trace event, which is called xhci_dbg_quirks and belongs in the event class xhci_log_msg, and adds tracepoints that trace the debug messages associated with xHCs' quirks. 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 628624306f38..f0447c6cb29b 100644
--- a/drivers/usb/host/xhci-trace.h
+++ b/drivers/usb/host/xhci-trace.h
@@ -41,6 +41,11 @@ DEFINE_EVENT(xhci_log_msg, xhci_dbg_context_change,
TP_ARGS(vaf)
);
+DEFINE_EVENT(xhci_log_msg, xhci_dbg_quirks,
+ TP_PROTO(struct va_format *vaf),
+ TP_ARGS(vaf)
+);
+
#endif /* __XHCI_TRACE_H */
/* this part must be outside header guard */