From 199554cada64d659bd756c7fb637f2d1f6a3cf12 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 25 May 2010 14:21:59 +0200 Subject: KerneloopsSysLog.cpp: do not stop on "--- [ cut here ] ---" line Signed-off-by: Denys Vlasenko --- lib/Plugins/KerneloopsSysLog.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/Plugins/KerneloopsSysLog.cpp') diff --git a/lib/Plugins/KerneloopsSysLog.cpp b/lib/Plugins/KerneloopsSysLog.cpp index 2dd5f804..66cce416 100644 --- a/lib/Plugins/KerneloopsSysLog.cpp +++ b/lib/Plugins/KerneloopsSysLog.cpp @@ -240,8 +240,10 @@ next_line: oopsstart = i; else if (strstr(curline, "INFO: possible recursive locking detected")) oopsstart = i; - else if (strstr(curline, "------------[ cut here ]------------")) - oopsstart = i; + // Not needed: "--[ cut here ]--" is always followed + // by "Badness at", "kernel BUG at", or "WARNING: at" string + //else if (strstr(curline, "------------[ cut here ]------------")) + // oopsstart = i; else if (strstr(curline, "list_del corruption.")) oopsstart = i; else if (strstr(curline, "list_add corruption.")) -- cgit