mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
tests: Catch various lockdep warnings
Lockdep no longer prints "INFO:" but now prints "WARNING:". Also add the "*** DEADLOCK ***" string it usually prints so if it changes again we can keep finding that string. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
bfbc41eace
commit
a95d5fdbe1
@ -21,7 +21,7 @@ lockdep_messages = [
|
||||
'possible irq lock inversion dependency',
|
||||
'suspicious RCU usage',
|
||||
]
|
||||
lockdep = r'(\[\s*)?INFO: (%s)' % ('|'.join(lockdep_messages), )
|
||||
lockdep = r'(\[\s*)?(INFO|WARNING): (%s)|\*\*\* DEADLOCK \*\*\*' % ('|'.join(lockdep_messages), )
|
||||
issue = re.compile('(\[[0-9 .]*\] )?(WARNING:|BUG:|%s|RTNL: assertion failed).*' % lockdep)
|
||||
|
||||
def check_kernel(logfile):
|
||||
|
Loading…
Reference in New Issue
Block a user