pkg/report: strip unnecessary info from "workqueue lockup" crashes

This commit is contained in:
Dmitry Vyukov 2017-10-18 16:56:05 +02:00
parent 441d64d9a5
commit 6a4810dd45
2 changed files with 10 additions and 2 deletions

View File

@ -413,13 +413,17 @@ var linuxOopses = []*oops{
"BUG: Dentry still in use [unmount of %[1]v]", "BUG: Dentry still in use [unmount of %[1]v]",
}, },
{ {
compile("BUG: Bad page state .*"), compile("BUG: Bad page state.*"),
"BUG: Bad page state", "BUG: Bad page state",
}, },
{ {
compile("BUG: spinlock bad magic .*"), compile("BUG: spinlock bad magic.*"),
"BUG: spinlock bad magic", "BUG: spinlock bad magic",
}, },
{
compile("BUG: workqueue lockup.*"),
"BUG: workqueue lockup",
},
}, },
[]*regexp.Regexp{ []*regexp.Regexp{
// Android prints this sometimes during boot. // Android prints this sometimes during boot.

View File

@ -776,6 +776,10 @@ other info that might help us debug this:
[ 16.762666] [syscamera][msm_companion_pll_init::544][WAFER_INFO::0xcf80] [ 16.762666] [syscamera][msm_companion_pll_init::544][WAFER_INFO::0xcf80]
[ 16.763144] [syscamera][msm_companion_pll_init::594][BIN_INFO::0x0008][WAFER_INFO::0xcf80][voltage 0.775] [ 16.763144] [syscamera][msm_companion_pll_init::594][BIN_INFO::0x0008][WAFER_INFO::0xcf80][voltage 0.775]
`: ``, `: ``,
`
BUG: workqueue lockup - pool cpus=0 node=0 flags=0x0 nice=0 stuck for 32s!
`: `BUG: workqueue lockup`,
} }
testParse(t, "linux", tests) testParse(t, "linux", tests)
} }