aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/report/linux.go
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@google.com>2019-05-02 14:02:06 +0200
committerDmitry Vyukov <dvyukov@google.com>2019-05-06 18:39:08 +0200
commit148296f4787895d1b148d29a2f48140bcfd245a3 (patch)
tree2469c2e673a648cce47252537ff6731e3209ca48 /pkg/report/linux.go
parentd28f4ce564ffeacac8c8c75085be79d9c99e2bbf (diff)
pkg/report: improve titles of 'sleeping function called from invalid context'
Diffstat (limited to 'pkg/report/linux.go')
-rw-r--r--pkg/report/linux.go10
1 files changed, 8 insertions, 2 deletions
diff --git a/pkg/report/linux.go b/pkg/report/linux.go
index 4c031dccc..bb0d90e81 100644
--- a/pkg/report/linux.go
+++ b/pkg/report/linux.go
@@ -946,8 +946,14 @@ var linuxOopses = []*oops{
noStackTrace: true,
},
{
- title: compile("BUG: sleeping function called from invalid context (.*)"),
- fmt: "BUG: sleeping function called from invalid context %[1]v",
+ title: compile("BUG: sleeping function called from invalid context at (.*)"),
+ fmt: "BUG: sleeping function called from invalid context in %[2]v",
+ stack: &stackFmt{
+ parts: []*regexp.Regexp{
+ compile("Call Trace:"),
+ parseStackTrace,
+ },
+ },
},
{
title: compile("BUG: using __this_cpu_([a-z_]+)\\(\\) in preemptible"),