summaryrefslogtreecommitdiffstats
path: root/lib/Plugins/KerneloopsScanner.h
Commit message (Collapse)AuthorAgeFilesLines
* don't read syslog if it didn't changeJiri Moskovcak2010-03-151-0/+2
|
* simplify kerneloops/dumpoops a bitDenys Vlasenko2010-02-231-11/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* SOSreport: make it avoid double runs; add forced regeneration; upd PLUGINS-HOWTODenys Vlasenko2010-01-261-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* give Plugin class a map_plugin_settings_t memberDenys Vlasenko2009-11-061-5/+0
| | | | | | This simplifies and unifies get/set settings ops Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mass replace of const string& params by const char*Denys Vlasenko2009-11-061-2/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* InformAllUsers support. enabled by default for Kerneloops. Tested wuth CCpp.Denys Vlasenko2009-11-051-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* dumpoops: add -s option to dump results to stdoutDenys Vlasenko2009-10-291-3/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Kerneloops: remove two classes, vector_string_t works as goodDenys Vlasenko2009-10-291-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* KerneloopsScanner: do not use global variables needlesslyDenys Vlasenko2009-10-281-1/+1
| | | | | | | | text data bss dec hex filename 27341 1688 48 29077 7195 old/libKerneloopsScanner.so 26466 1672 24 28162 6e02 new/libKerneloopsScanner.so Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* BZ#518413 PATCH ... furious kerneloops reportingAnton Arapov2009-08-251-5/+1
| | | | back to old logic.
* moved LoadSettings from plugins into PluginManagerZdenek Prikryl2009-08-111-1/+0
|
* add the GPL notice to the kerneloops' scannerAnton Arapov2009-08-111-0/+26
| | | | this is important, since the codebase of the kerneloops.org was used.
* Kerneloops plugin: style fixesAnton Arapov2009-08-101-19/+19
|
* remove redundant virtual destructors definitionsDenys Vlasenko2009-08-041-1/+0
| | | | 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-0/+2
|
* Move PLUGIN_INFOs to .cpp files: same object must never be defined twiceDenys Vlasenko2009-07-311-9/+0
| | | | | | | | 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-2/+5
| | | | | | 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-3/+2
| | | | | | | | | | | | | | | | | | | | | 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>
* Added first part of gui support in reportingZdenek Prikryl2009-07-241-1/+2
|
* new scanner, it is used by abrt's cronZdenek Prikryl2009-05-121-0/+38