Add new config parameter "ignores" which contains list of regexp expressions.
If one of the expressions is matched against oops line,
crash report is not saved and VM is not restarted.
I see a bunch of reports of the form:
KASAN: use-after-free Read of size 4059 in copy_from_iter
but size is different in all reports.
This hampers deduplication.
Don't print size.
RCU prints a severe bugs like stalls with "INFO: ",
but then it prints a purely informative messages
like "INFO: lockdep is turned off" also with "INFO: ".
Add ability to ignore some kernel messages that look like oopses.
Ignore informative rcu messages.
The intention in these regexp's is to find the first line containing e.g. func name.
Currently we use greedy new line matching and find the _last_ line with func name.
E.g. if we have 2 KASAN reports we will match header from the first report,
but then access info from the second report.
Use non-greedy new line matching to fix it.
Now crashes dir contains 1 subdirectory per unique crash type.
Each subdirectory contains 'description' file with a unique string identifying
the crash type (e.g. "KASAN: slab-out-of-bounds Read of size 2 in bit_putcs"),
and up to 100 logN and reportN files with raw crash log (as before) and
post processed kernel oops message.