blob: b67dd362b7b6cff2f62d2f431c9d25c4d444df79 [file] [log] [blame]
Chen, Gong76ac8272014-06-11 13:54:04 -07001/*
2 * Copyright (C) 2014 Intel Corporation
3 *
4 * Authors:
5 * Chen, Gong <gong.chen@linux.intel.com>
6 */
7
Chen, Gongd963cd92014-06-11 14:02:20 -07008#include <linux/init.h>
9#include <linux/ras.h>
10
Chen, Gong76ac8272014-06-11 13:54:04 -070011#define CREATE_TRACE_POINTS
12#define TRACE_INCLUDE_PATH ../../include/ras
13#include <ras/ras_event.h>
14
Chen, Gongd963cd92014-06-11 14:02:20 -070015static int __init ras_init(void)
16{
17 int rc = 0;
18
19 ras_debugfs_init();
20 rc = ras_add_daemon_trace();
21
22 return rc;
23}
24subsys_initcall(ras_init);
25
Chen, Gong2dfb7d52014-06-17 22:33:07 -040026#if defined(CONFIG_ACPI_EXTLOG) || defined(CONFIG_ACPI_EXTLOG_MODULE)
27EXPORT_TRACEPOINT_SYMBOL_GPL(extlog_mem_event);
28#endif
Chen, Gong76ac8272014-06-11 13:54:04 -070029EXPORT_TRACEPOINT_SYMBOL_GPL(mc_event);