aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/report/linux.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-04-07 15:28:34 +0200
committerDmitry Vyukov <dvyukov@google.com>2018-04-07 15:28:34 +0200
commitd70ffd1a2b542498fa18cc470cc91441dc76f55b (patch)
treeee716210b7c52f0fd281b7d20057aa740242cd52 /pkg/report/linux.go
parent66f22a7fdccb93f261cc260d0f5965dbbdcc0073 (diff)
pkg/report: strip "panic_on_warn set" more aggressively
KMSAN reports can be short, but still include full stack. The added test is only 28 lines, so reduce the threshold from 40 to 25 lines.
Diffstat (limited to 'pkg/report/linux.go')
-rw-r--r--pkg/report/linux.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/report/linux.go b/pkg/report/linux.go
index 6948c1232..5b3404d19 100644
--- a/pkg/report/linux.go
+++ b/pkg/report/linux.go
@@ -178,7 +178,7 @@ func (ctx *linux) Parse(output []byte) *Report {
skipLine := skipText
if bytes.Contains(ln, []byte("Disabling lock debugging due to kernel taint")) {
skipLine = true
- } else if textLines > 40 &&
+ } else if textLines > 25 &&
bytes.Contains(ln, []byte("Kernel panic - not syncing")) {
// If panic_on_warn set, then we frequently have 2 stacks:
// one for the actual report (or maybe even more than one),