summaryrefslogtreecommitdiffstats
path: root/src/Hooks/Kerneloops.cpp
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2009-03-11 14:21:28 +0100
committerJiri Moskovcak <jmoskovc@redhat.com>2009-03-11 14:21:28 +0100
commit2036c6cc28f5d3f07142657ca148f8db516d9651 (patch)
tree28493a37a1cdd706012c10390d7e8b1d0acb652f /src/Hooks/Kerneloops.cpp
parentd852cf2bf1bdf4a0662fbd68f76dc7feb65c97ba (diff)
downloadabrt-2036c6cc28f5d3f07142657ca148f8db516d9651.tar.gz
abrt-2036c6cc28f5d3f07142657ca148f8db516d9651.tar.xz
abrt-2036c6cc28f5d3f07142657ca148f8db516d9651.zip
added kerneloops addon and plugin (aarapov)
Diffstat (limited to 'src/Hooks/Kerneloops.cpp')
-rw-r--r--src/Hooks/Kerneloops.cpp35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/Hooks/Kerneloops.cpp b/src/Hooks/Kerneloops.cpp
new file mode 100644
index 0000000..74a2192
--- /dev/null
+++ b/src/Hooks/Kerneloops.cpp
@@ -0,0 +1,35 @@
+/*
+ * Copyright 2009, Red Hat Inc.
+ *
+ * This file is part of %TBD%
+ *
+ * This program file is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program in a file named COPYING; if not, write to the
+ * Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301 USA
+ *
+ * Authors:
+ * Anton Arapov <anton@redhat.com>
+ */
+
+#include "KerneloopsDmesg.h"
+
+int main()
+{
+ int ret;
+
+ // reuses the code of Kerneloop Plugin
+ ret = scan_logs();
+
+ return ret;
+}