summaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdnsp-trace.c
diff options
context:
space:
mode:
authorPawel Laszczak <pawell@cadence.com>2020-12-07 11:32:25 +0100
committerPeter Chen <peter.chen@nxp.com>2020-12-29 05:36:13 +0100
commit118b2a3237cf499727649b1c018dd2f1d329af08 (patch)
tree30d59870fc0e68ea91c6ef1a9a54a77c4452c616 /drivers/usb/cdns3/cdnsp-trace.c
parentusb: cdnsp: cdns3 Add main part of Cadence USBSSP DRD Driver (diff)
downloadlinux-118b2a3237cf499727649b1c018dd2f1d329af08.tar.xz
linux-118b2a3237cf499727649b1c018dd2f1d329af08.zip
usb: cdnsp: Add tracepoints for CDNSP driver
Patch adds the series of tracepoints that can be used for debugging issues detected in driver. Signed-off-by: Pawel Laszczak <pawell@cadence.com> Reviewed-by: Peter Chen <peter.chen@nxp.com> Signed-off-by: Peter Chen <peter.chen@nxp.com>
Diffstat (limited to 'drivers/usb/cdns3/cdnsp-trace.c')
-rw-r--r--drivers/usb/cdns3/cdnsp-trace.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/usb/cdns3/cdnsp-trace.c b/drivers/usb/cdns3/cdnsp-trace.c
new file mode 100644
index 000000000000..e50ab799ad95
--- /dev/null
+++ b/drivers/usb/cdns3/cdnsp-trace.c
@@ -0,0 +1,12 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Cadence CDNSP DRD Driver.
+ *
+ * Copyright (C) 2020 Cadence.
+ *
+ * Author: Pawel Laszczak <pawell@cadence.com>
+ *
+ */
+
+#define CREATE_TRACE_POINTS
+#include "cdnsp-trace.h"