From 148296f4787895d1b148d29a2f48140bcfd245a3 Mon Sep 17 00:00:00 2001 From: Andrey Konovalov Date: Thu, 2 May 2019 14:02:06 +0200 Subject: pkg/report: improve titles of 'sleeping function called from invalid context' --- pkg/report/linux.go | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'pkg/report/linux.go') 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"), -- cgit mrf-deployment