diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-04-07 15:28:34 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-04-07 15:28:34 +0200 |
| commit | d70ffd1a2b542498fa18cc470cc91441dc76f55b (patch) | |
| tree | ee716210b7c52f0fd281b7d20057aa740242cd52 /pkg/report/linux.go | |
| parent | 66f22a7fdccb93f261cc260d0f5965dbbdcc0073 (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.go | 2 |
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), |
