From 2e6a6e8aed825e456600d01c8a805b6f6fd24c3a Mon Sep 17 00:00:00 2001 From: Zdenek Prikryl Date: Tue, 28 Apr 2009 17:08:09 +0200 Subject: new commlayerinner interface --- lib/Plugins/Kerneloops.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'lib/Plugins/Kerneloops.cpp') 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 #include @@ -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 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; -- cgit