summaryrefslogtreecommitdiffstats
path: root/lib/Plugins/Kerneloops.cpp
diff options
context:
space:
mode:
authorZdenek Prikryl <zdeny@dhcp-lab-218.englab.brq.redhat.com>2009-04-28 17:08:09 +0200
committerZdenek Prikryl <zdeny@dhcp-lab-218.englab.brq.redhat.com>2009-04-28 17:08:09 +0200
commit2e6a6e8aed825e456600d01c8a805b6f6fd24c3a (patch)
treec58cba2913350fed9674813b3fe0a27e6639fbd2 /lib/Plugins/Kerneloops.cpp
parentb08d5c2cf630ecb89d2f22b985dcdfcf25494258 (diff)
downloadabrt-2e6a6e8aed825e456600d01c8a805b6f6fd24c3a.tar.gz
abrt-2e6a6e8aed825e456600d01c8a805b6f6fd24c3a.tar.xz
abrt-2e6a6e8aed825e456600d01c8a805b6f6fd24c3a.zip
new commlayerinner interface
Diffstat (limited to 'lib/Plugins/Kerneloops.cpp')
-rw-r--r--lib/Plugins/Kerneloops.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/Plugins/Kerneloops.cpp b/lib/Plugins/Kerneloops.cpp
index 179ba410..3b8fce6a 100644
--- a/lib/Plugins/Kerneloops.cpp
+++ b/lib/Plugins/Kerneloops.cpp
@@ -29,6 +29,7 @@
#include "DebugDump.h"
#include "PluginSettings.h"
#include "ABRTException.h"
+#include "ABRTCommLayer.h"
#include <sstream>
#include <assert.h>
@@ -58,6 +59,8 @@ void CAnalyzerKerneloops::WriteSysLog(int m_nCount)
std::string CAnalyzerKerneloops::GetLocalUUID(const std::string& pDebugDumpDir)
{
+ ABRTCommLayer::status("Getting local/global universal unique identification...");
+
std::string m_sOops;
std::stringstream m_sHash;
CDebugDump m_pDebugDump;
@@ -85,6 +88,8 @@ std::string CAnalyzerKerneloops::GetGlobalUUID(const std::string& pDebugDumpDir)
void CAnalyzerKerneloops::Report()
{
+ ABRTCommLayer::status("Creating crash reports...");
+
CDebugDump m_pDebugDump;
char m_sPath[PATH_MAX];
std::list<COops> m_pOopsList;
@@ -157,6 +162,8 @@ void CAnalyzerKerneloops::Init()
void CAnalyzerKerneloops::ScanDmesg()
{
+ ABRTCommLayer::debug("Scanning dmesg...");
+
int m_nFoundOopses;
char *buffer;
@@ -172,6 +179,8 @@ void CAnalyzerKerneloops::ScanDmesg()
void CAnalyzerKerneloops::ScanSysLogFile(const char *filename, int issyslog)
{
+ ABRTCommLayer::debug("Scanning syslog...");
+
char *buffer;
struct stat statb;
FILE *file;