diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2020-11-30 12:01:26 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-11-30 12:31:02 +0100 |
| commit | 7c80d6f9ba2b108653c5643a3a9ef12820a5de34 (patch) | |
| tree | 1bd73fa66997bdf5b05bbf25ea43864b47615c7e /pkg/report/linux.go | |
| parent | 76831598dcfb1e83c4d8864f68d4c4ce3c7819ae (diff) | |
pkg/report: handle rwlock debug oopses
Diffstat (limited to 'pkg/report/linux.go')
| -rw-r--r-- | pkg/report/linux.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkg/report/linux.go b/pkg/report/linux.go index f1e02eec2..527f03fb6 100644 --- a/pkg/report/linux.go +++ b/pkg/report/linux.go @@ -1032,14 +1032,15 @@ var linuxOopses = append([]*oops{ corrupted: true, }, { - title: compile("BUG: spinlock (lockup suspected|already unlocked|recursion|bad magic|wrong owner|wrong CPU)"), - fmt: "BUG: spinlock %[1]v in %[2]v", + title: compile("BUG: (spinlock|rwlock) (lockup suspected|already unlocked|recursion" + + "|cpu recursion|bad magic|wrong owner|wrong CPU|trylock failure on UP)"), + fmt: "BUG: %[1]v %[2]v in %[3]v", stack: &stackFmt{ parts: []*regexp.Regexp{ linuxCallTrace, parseStackTrace, }, - skip: []string{"spin_"}, + skip: []string{"spin_", "_lock", "_unlock"}, }, }, { |
