Linux 4.9.237
[linux/fpc-iii.git] / drivers / ras / ras.c
blobb67dd362b7b6cff2f62d2f431c9d25c4d444df79
1 /*
2 * Copyright (C) 2014 Intel Corporation
4 * Authors:
5 * Chen, Gong <gong.chen@linux.intel.com>
6 */
8 #include <linux/init.h>
9 #include <linux/ras.h>
11 #define CREATE_TRACE_POINTS
12 #define TRACE_INCLUDE_PATH ../../include/ras
13 #include <ras/ras_event.h>
15 static int __init ras_init(void)
17 int rc = 0;
19 ras_debugfs_init();
20 rc = ras_add_daemon_trace();
22 return rc;
24 subsys_initcall(ras_init);
26 #if defined(CONFIG_ACPI_EXTLOG) || defined(CONFIG_ACPI_EXTLOG_MODULE)
27 EXPORT_TRACEPOINT_SYMBOL_GPL(extlog_mem_event);
28 #endif
29 EXPORT_TRACEPOINT_SYMBOL_GPL(mc_event);