aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/report/linux.go
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@google.com>2019-04-30 18:29:14 +0200
committerDmitry Vyukov <dvyukov@google.com>2019-05-07 08:53:52 +0200
commit024f6c4b7fc99557f8956a50f2af810ccce31b3a (patch)
tree67905a9ed9f095b8eaaec37c7be27d02315fa7ec /pkg/report/linux.go
parent001e36bc7862e1663aa5e6608882e78f08ebab41 (diff)
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.
Diffstat (limited to 'pkg/report/linux.go')
-rw-r--r--pkg/report/linux.go3
1 files changed, 2 insertions, 1 deletions
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"),