diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2021-11-16 10:10:16 +0000 |
|---|---|---|
| committer | Aleksandr Nogikh <wp32pw@gmail.com> | 2021-11-16 11:38:25 +0100 |
| commit | cafff8b6ce51d6d1fa82eb96612a943db3c03541 (patch) | |
| tree | 2ca8e7455a2ffa8745aa7a9ef6a66cb5f6041bb5 /pkg/report/linux.go | |
| parent | 2bf81203b787b5477ee7fce277568b0f14294909 (diff) | |
pkg/report: skip __might_resched frames
Not skipping this frame leads to "BUG: sleeping function called from
invalid context at" pointing to the wrong function.
Fix that and add a report parse test.
Diffstat (limited to 'pkg/report/linux.go')
| -rw-r--r-- | pkg/report/linux.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/report/linux.go b/pkg/report/linux.go index a6dd18d71..c22d60452 100644 --- a/pkg/report/linux.go +++ b/pkg/report/linux.go @@ -1164,6 +1164,7 @@ var linuxStackParams = &stackParams{ "logic_in", "logic_out", "^crc\\d+", + "__might_resched", }, corruptedLines: []*regexp.Regexp{ // Fault injection stacks are frequently intermixed with crash reports. |
