summaryrefslogtreecommitdiffstats
path: root/lib/Plugins/KerneloopsSysLog.h
Commit message (Collapse)AuthorAgeFilesLines
* kerneloops eliminate commented code, related to type distinguishing...Anton Arapov2009-08-111-2/+2
| | | | it seems stable, proved by the stress tests. :)
* delete semicolon in "if (expr); stmt;" , autodetect dmesg/syslogDenys Vlasenko2009-07-311-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* KerneloopsReporter: plug a leak in writefunctionDenys Vlasenko2009-07-311-1/+1
| | | | | | Also some preparatory cleanups for future dumpoops patch are included Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Handle logs with NUL chars betterMichal Schmidt2009-06-201-1/+1
| | | | | | | | | | | It is not too rare that '\0' chars appear in /var/log/messages. I saw a real-life case where kerneloops would show a popup with the same old oops after every login. It turned out that there were NUL chars in the log which prevented kerneloops from seeing its marker, so it always treated the old oops in the log as new. This patch fixes it by always going through the whole known length of the buffer (not stopping on NUL chars) and using less string-oriented functions in fill_lineinfo().
* Use less memoryAnton Arapov2009-06-201-1/+1
| | | | | | | | | | | | * backport of 14e769d7093179943015ff88d0d3bdd65b2947f7 * Author: Michal Schmidt <mschmidt@redhat.com> The linepointer array is huge!: linepointer = calloc(buflen+1, sizeof(char*)); buflen can be as much as 32 MB, that makes it allocate 32M*8 = 256M on x86_64. Fix it by growing the allocation dynamically as we find interesting lines in the log.
* kerneloops: correct copyrights and package relation.Anton Arapov2009-03-311-1/+1
|
* kerneloops - plugin: huge changeset, make things more c++-ish, configurable ↵Anton Arapov2009-03-261-6/+26
| | | | syslog
* kerneloops - plugin: rename filesAnton Arapov2009-03-261-0/+36