aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/report/linux.go
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@google.com>2019-08-13 19:05:24 +0200
committerGitHub <noreply@github.com>2019-08-13 19:05:24 +0200
commitef801a3eab3f5c84fa7f61fd739c9fcb45925caa (patch)
treee18bcb32f960acef3bacb38d9860ecdffd727f96 /pkg/report/linux.go
parentb65356b565286bb1d161cf88d1170168fc9b024c (diff)
pkg/report: improve some titles (#1332)
* pkg/report: improve BUG: MAX_STACK_TRACE_ENTRIES titles * pkg/report: improve refcount bug titles
Diffstat (limited to 'pkg/report/linux.go')
-rw-r--r--pkg/report/linux.go12
1 files changed, 11 insertions, 1 deletions
diff --git a/pkg/report/linux.go b/pkg/report/linux.go
index 99e348365..991bbcaee 100644
--- a/pkg/report/linux.go
+++ b/pkg/report/linux.go
@@ -761,6 +761,11 @@ var linuxStackParams = &stackParams{
"flush_work",
"__cancel_work_timer",
"cancel_work_sync",
+ "flush_workqueue",
+ "drain_workqueue",
+ "destroy_workqueue",
+ "get_device_parent",
+ "device_add",
},
corruptedLines: []*regexp.Regexp{
// Fault injection stacks are frequently intermixed with crash reports.
@@ -959,6 +964,11 @@ var linuxOopses = []*oops{
},
},
{
+ title: compile("BUG: MAX_STACK_TRACE_ENTRIES too low!"),
+ fmt: "BUG: MAX_STACK_TRACE_ENTRIES too low in %[1]v",
+ stack: warningStackFmt("save_trace", "mark_lock"),
+ },
+ {
title: compile("BUG: using __this_cpu_([a-z_]+)\\(\\) in preemptible"),
fmt: "BUG: using __this_cpu_%[1]v() in preemptible code in %[2]v",
stack: &stackFmt{
@@ -1045,7 +1055,7 @@ var linuxOopses = []*oops{
{
title: compile("WARNING: .*lib/refcount\\.c.* refcount_"),
fmt: "WARNING: refcount bug in %[1]v",
- stack: warningStackFmt("refcount"),
+ stack: warningStackFmt("refcount", "kobject_"),
},
{
title: compile("WARNING: .*kernel/locking/lockdep\\.c.*lock_"),