aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/report/linux.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-11-08 07:50:44 +0100
committerDmitry Vyukov <dvyukov@google.com>2019-11-08 07:51:25 +0100
commit1e35461e020a8b43c7b2d79ee64eb4068a9f0481 (patch)
tree9ad39cca753ab1f1fea624770048086f022451e3 /pkg/report/linux.go
parentf39aff9e4a422297d30f25d0b53f0258a445fbee (diff)
pkg/report: trim panic_on_warn set few lines earlier
The KCSAN reports can be quite short. Now with task contexts we can hopefully reduce the threshold a bit.
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 f57011fed..bc21900a7 100644
--- a/pkg/report/linux.go
+++ b/pkg/report/linux.go
@@ -251,7 +251,7 @@ func (ctx *linux) findReport(output []byte, oops *oops, startPos int, context st
// from other CPUs regardless of what is the current context.
// Otherwise we will throw traceback away because it does not match the oops context.
cpuTraceback = true
- } else if textLines > 25 &&
+ } else if textLines > 22 &&
(bytes.Contains(line, []byte("Kernel panic - not syncing")) ||
bytes.Contains(line, []byte("WARNING: possible circular locking dependency detected"))) {
// If panic_on_warn set, then we frequently have 2 stacks: