summaryrefslogtreecommitdiff
path: root/drivers/staging/wfx/debug.c
diff options
context:
space:
mode:
authorJérôme Pouiller <jerome.pouiller@silabs.com>2019-09-19 14:25:38 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-10-04 10:43:39 +0200
commitfee695e3e30f72a18d4631b8d7589cf413282c7c (patch)
treee4c7909a50102ccfaa043cb32c040d264531a081 /drivers/staging/wfx/debug.c
parenta794e8b6fafe0dc82b2a2af32e85a859ad68a3a1 (diff)
staging: wfx: add tracepoints for I/O access
Some tracepoints are useful for debugging. Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com> Link: https://lore.kernel.org/r/20190919142527.31797-5-Jerome.Pouiller@silabs.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wfx/debug.c')
-rw-r--r--drivers/staging/wfx/debug.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/staging/wfx/debug.c b/drivers/staging/wfx/debug.c
new file mode 100644
index 000000000000..bf44c944640d
--- /dev/null
+++ b/drivers/staging/wfx/debug.c
@@ -0,0 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
+/*
+ * Debugfs interface.
+ *
+ * Copyright (c) 2017-2019, Silicon Laboratories, Inc.
+ * Copyright (c) 2010, ST-Ericsson
+ */
+
+#define CREATE_TRACE_POINTS
+#include "traces.h"