summaryrefslogtreecommitdiffstats
path: root/lib/Plugins/KerneloopsReporter.cpp
Commit message (Collapse)AuthorAgeFilesLines
* added support for storing results from reporters (used from gui)Zdenek Prikryl2009-08-141-2/+6
|
* moved LoadSettings from plugins into PluginManagerZdenek Prikryl2009-08-111-8/+0
|
* Kerneloops plugin: style fixesAnton Arapov2009-08-101-10/+8
|
* fix a bug where kerneloops segfaults on empty oops dataAnton Arapov2009-08-101-5/+15
| | | | | | | also, we aren't interested in empty reports, so do not report anything when oops message was not provided. Signed-off-by: Anton Arapov <aarapov@redhat.com>
* fix compile-time warnings.Denys Vlasenko2009-08-091-2/+3
| | | | | | | One fix (in CCrashWatcher::GetPluginsInfo) needs closer look, others are "trivially correct" Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Split real code from lib/MiddleWare/Plugin.h into Plugin.cpp.Denys Vlasenko2009-08-071-4/+1
| | | | | | 30k smaller code. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* added new interface for geting plugins' settings (will be used in gui)Zdenek Prikryl2009-07-311-6/+19
|
* Move PLUGIN_INFOs to .cpp files: same object must never be defined twiceDenys Vlasenko2009-07-311-0/+9
| | | | | | | | and if structure is defined in a .h file, that happens. Since this particular structure has non-trivial destructor, it was running twice and resulted in double-free. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* KerneloopsReporter: plug a leak in writefunctionDenys Vlasenko2009-07-311-14/+36
| | | | | | Also some preparatory cleanups for future dumpoops patch are included Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* bug fixes in kerneloops scannerDenys Vlasenko2009-07-311-8/+8
| | | | | | | | | | | | | | | | | | | | | CKerneloopsScanner::Run - scan syslog file first, then dmesg (was other way around) CKerneloopsScanner::SaveOopsToDebug - cast time_t and size_t to long when we feed them to snprintf CKerneloopsScanner::ScanSysLogFile - do not seek to negative offsets, POSIX does not allow that CSysLog::QueueOops - plug memory leak Also used some abrtlib functions where appropriate, use open instead of fopen where appropriate, do not check error in time() - it never fails, move around bits of code in CKerneloopsScanner to make it easier in future to create a tool for parsing arbitrary files for oopses. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* rework commlayerinner usageZdenek Prikryl2009-04-291-2/+2
| | | | new lock method in debugdump
* new commlayerinner interfaceZdenek Prikryl2009-04-281-1/+3
|
* - reporter plugins can tak an argimentZdenek Prikryl2009-04-161-1/+1
| | | | | - added "Reporters" option which allows report basic info after a crash occurs - fixed interface of plugins
* renamed MW libraryZdenek Prikryl2009-04-081-1/+3
| | | | | | renamed Utils library added check for plugins init method renamed crash types
* new crash typesZdenek Prikryl2009-04-021-2/+2
|
* added new interface frof settingsZdenek Prikryl2009-04-021-2/+2
|
* added new DebugDump supportZdenek Prikryl2009-04-011-2/+2
|
* kerneloops: correct copyrights and package relation.Anton Arapov2009-03-311-1/+1
|
* kerneloops - reporter: headers clean-upAnton Arapov2009-03-261-5/+0
|
* kerneloops - reporter: clean-upsAnton Arapov2009-03-261-4/+3
|
* replaced language and application plugins by analyzer pluginZdenek Prikryl2009-03-191-3/+7
| | | | | added action plugin simplify plugin iface
* added kerneloops addon and plugin (aarapov)Jiri Moskovcak2009-03-111-0/+96