From 72c86d6d7dc40368a576ce855b4aa81b60fc1988 Mon Sep 17 00:00:00 2001 From: Jake Hunsaker Date: Mon, 24 Jan 2022 15:14:01 -0500 Subject: [mac_parser] Skip parsing of modinfo output Skip parsing of modinfo output by the mac parser, as this can lead to numerous false positive matches and unhelpfully obfuscate the signature of modules. Signed-off-by: Jake Hunsaker --- sos/cleaner/parsers/mac_parser.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sos/cleaner/parsers/mac_parser.py b/sos/cleaner/parsers/mac_parser.py index 7817340c..763df034 100644 --- a/sos/cleaner/parsers/mac_parser.py +++ b/sos/cleaner/parsers/mac_parser.py @@ -29,6 +29,9 @@ class SoSMacParser(SoSCleanerParser): '53:4f:53', '534f:53' ) + skip_files = [ + 'sos_commands/kernel/modinfo.*' + ] map_file_key = 'mac_map' def __init__(self, config): -- cgit