diff options
Diffstat (limited to 'lib/Plugins/KerneloopsScanner.cpp')
-rw-r--r-- | lib/Plugins/KerneloopsScanner.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/Plugins/KerneloopsScanner.cpp b/lib/Plugins/KerneloopsScanner.cpp index 361b44cd..00d5803b 100644 --- a/lib/Plugins/KerneloopsScanner.cpp +++ b/lib/Plugins/KerneloopsScanner.cpp @@ -173,3 +173,18 @@ PLUGIN_INFO(ACTION, "anton@redhat.com", "http://people.redhat.com/aarapov", ""); + +/* for dumpoops tool */ +extern "C" { + +int scan_syslog_file(CKerneloopsScanner *This, const char *filename) +{ + return This->ScanSysLogFile(filename); +} + +void save_oops_to_debug_dump(CKerneloopsScanner *This) +{ + This->SaveOopsToDebugDump(); +} + +} |