diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2021-01-17 12:27:09 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2021-01-17 15:44:44 +0100 |
| commit | de4e4f4d8b582f2aee34fe7659b0bcb54ff28498 (patch) | |
| tree | 2826da145cbb998ed43870d0ba133157846c47b2 /pkg/report/linux.go | |
| parent | 7cd0bd1c148d0ef29b48bc45f7bb4512f127fe9e (diff) | |
pkg/report: add alt title for "kernel BUG" oops
Update #1575
Diffstat (limited to 'pkg/report/linux.go')
| -rw-r--r-- | pkg/report/linux.go | 6 |
1 files changed, 5 insertions, 1 deletions
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_"}, }, }, }, |
