summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci-trace.h
diff options
context:
space:
mode:
authorXenia Ragiadakou2013-07-31 06:35:27 +0200
committerSarah Sharp2013-08-14 01:05:39 +0200
commit3a7fa5bef06e1757d1aded8d78afd041b4552e11 (patch)
tree924b372520502e54e296be99f8f1069c88ed0717 /drivers/usb/host/xhci-trace.h
parentxhci: add traces for debug messages in xhci_address_device() (diff)
downloadkernel-qcow2-linux-3a7fa5bef06e1757d1aded8d78afd041b4552e11.tar.gz
kernel-qcow2-linux-3a7fa5bef06e1757d1aded8d78afd041b4552e11.tar.xz
kernel-qcow2-linux-3a7fa5bef06e1757d1aded8d78afd041b4552e11.zip
xhci: add trace for debug messages related to changing contexts
This patch defines a new trace event, which is called xhci_dbg_context_change and belongs in the event class xhci_log_msg, and adds tracepoints for tracing the debug messages related to context updates performed with Configure Endpoint and Evaluate Context commands. 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 432aa675966c..628624306f38 100644
--- a/drivers/usb/host/xhci-trace.h
+++ b/drivers/usb/host/xhci-trace.h
@@ -36,6 +36,11 @@ DEFINE_EVENT(xhci_log_msg, xhci_dbg_address,
TP_ARGS(vaf)
);
+DEFINE_EVENT(xhci_log_msg, xhci_dbg_context_change,
+ TP_PROTO(struct va_format *vaf),
+ TP_ARGS(vaf)
+);
+
#endif /* __XHCI_TRACE_H */
/* this part must be outside header guard */