From 024f6c4b7fc99557f8956a50f2af810ccce31b3a Mon Sep 17 00:00:00 2001 From: Andrey Konovalov Date: Tue, 30 Apr 2019 18:29:14 +0200 Subject: pkg/report: improve warning titles This change makes the reporting code account for the skip patterns when selecting the frame that is used in a title of a generic warning report. --- pkg/report/linux.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pkg/report/linux.go') diff --git a/pkg/report/linux.go b/pkg/report/linux.go index 2652f4513..12d5872b7 100644 --- a/pkg/report/linux.go +++ b/pkg/report/linux.go @@ -1048,7 +1048,8 @@ var linuxOopses = []*oops{ }, { title: compile("WARNING: .* at {{SRC}} {{FUNC}}"), - fmt: "WARNING in %[2]v", + fmt: "WARNING in %[3]v", + stack: warningStackFmt(), }, { title: compile("WARNING: possible circular locking dependency detected"), -- cgit mrf-deployment