From ef801a3eab3f5c84fa7f61fd739c9fcb45925caa Mon Sep 17 00:00:00 2001 From: Andrey Konovalov Date: Tue, 13 Aug 2019 19:05:24 +0200 Subject: pkg/report: improve some titles (#1332) * pkg/report: improve BUG: MAX_STACK_TRACE_ENTRIES titles * pkg/report: improve refcount bug titles --- pkg/report/linux.go | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'pkg/report/linux.go') 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. @@ -958,6 +963,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", @@ -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_"), -- cgit mrf-deployment