trace, RAS: Add basic RAS trace event
[firefly-linux-kernel-4.4.55.git] / drivers / ras / ras.c
diff --git a/drivers/ras/ras.c b/drivers/ras/ras.c
new file mode 100644 (file)
index 0000000..b0c6ed1
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+ * Copyright (C) 2014 Intel Corporation
+ *
+ * Authors:
+ *     Chen, Gong <gong.chen@linux.intel.com>
+ */
+
+#define CREATE_TRACE_POINTS
+#define TRACE_INCLUDE_PATH ../../include/ras
+#include <ras/ras_event.h>
+
+EXPORT_TRACEPOINT_SYMBOL_GPL(mc_event);