From 867fe6a8406660055262b4f5fc2c24e02e0f1167 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 12 Dec 2017 13:40:08 +0100 Subject: pkg/report: improve using __this_cpu_add() in preemptible code report --- pkg/report/linux.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg/report/linux.go') diff --git a/pkg/report/linux.go b/pkg/report/linux.go index a672545de..69ad5e17a 100644 --- a/pkg/report/linux.go +++ b/pkg/report/linux.go @@ -565,8 +565,8 @@ var linuxOopses = []*oops{ fmt: "BUG: sleeping function called from invalid context %[1]v", }, { - title: compile("BUG: using __this_cpu_add\\(\\) in preemptible (.*)"), - fmt: "BUG: using __this_cpu_add() in preemptible %[1]v", + title: compile("BUG: using __this_cpu_([a-z_]+)\\(\\) in preemptible .*(?:.*\\n){0,30}Call Trace:\\n" + stacktraceRe("dump_stack", "preemption", "preempt")), + fmt: "BUG: using __this_cpu_%[1]v() in preemptible code in %[2]v", }, { title: compile("BUG: executor-detected bug"), -- cgit mrf-deployment