summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/misc/mei/mei-trace.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/misc/mei/mei-trace.c')
-rw-r--r--kernel/drivers/misc/mei/mei-trace.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/kernel/drivers/misc/mei/mei-trace.c b/kernel/drivers/misc/mei/mei-trace.c
new file mode 100644
index 000000000..388efb519
--- /dev/null
+++ b/kernel/drivers/misc/mei/mei-trace.c
@@ -0,0 +1,25 @@
+/*
+ *
+ * Intel Management Engine Interface (Intel MEI) Linux driver
+ * Copyright (c) 2015, Intel Corporation.
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms and conditions of the GNU General Public License,
+ * version 2, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+ *
+ */
+#include <linux/module.h>
+
+/* sparse doesn't like tracepoint macros */
+#ifndef __CHECKER__
+#define CREATE_TRACE_POINTS
+#include "mei-trace.h"
+
+EXPORT_TRACEPOINT_SYMBOL(mei_reg_read);
+EXPORT_TRACEPOINT_SYMBOL(mei_reg_write);
+#endif /* __CHECKER__ */