From de4e4f4d8b582f2aee34fe7659b0bcb54ff28498 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sun, 17 Jan 2021 12:27:09 +0100 Subject: pkg/report: add alt title for "kernel BUG" oops Update #1575 --- pkg/report/linux.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'pkg/report/linux.go') diff --git a/pkg/report/linux.go b/pkg/report/linux.go index dd781ae89..6c2194ae9 100644 --- a/pkg/report/linux.go +++ b/pkg/report/linux.go @@ -1654,12 +1654,16 @@ var linuxOopses = append([]*oops{ }, { title: compile("kernel BUG at (.*)"), - fmt: "kernel BUG at %[1]v", + fmt: "kernel BUG in %[2]v", + alt: []string{"kernel BUG at %[1]v"}, // historical title required for merging with existing bugs stack: &stackFmt{ parts: []*regexp.Regexp{ + linuxRipFrame, linuxCallTrace, parseStackTrace, }, + // Lots of skb wrappers contain BUG_ON, but the bug is almost always in the caller. + skip: []string{"^skb_"}, }, }, }, -- cgit mrf-deployment