Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

Commit

Permalink
plugins: linux_log_parser: check-kernel-exception: add a new cut here
Browse files Browse the repository at this point in the history
The linux log parser doesn't catch all 'cut here' kernel-exceptions.
Today it catches cut here looking like:
'------------[ cut here ]------------'
Add another multiline that can catch:
'--- cut here ---' too.

Signed-off-by: Anders Roxell <[email protected]>
  • Loading branch information
roxell committed Feb 9, 2024
1 parent 580f31d commit a16032c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions squad/plugins/linux_log_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

MULTILINERS = [
('check-kernel-exception', r'-+\[ cut here \]-+.*?-+\[ end trace \w* \]-+'),
('check-kernel-exception', r'--- cut here ---+.*?-+\[ end trace \w* \]-+'),
('check-kernel-kasan', r'=+\n\[[\s\.\d]+\]\s+BUG: KASAN:.*?=+'),
('check-kernel-kfence', r'=+\n\[[\s\.\d]+\]\s+BUG: KFENCE:.*?=+'),
]
Expand Down

0 comments on commit a16032c

Please sign in to comment.