[PATCH 7/9] data: klog.json: Make ArgType a regex to match various similar strings

Colin King colin.king at canonical.com
Tue May 14 14:00:29 UTC 2013


From: Colin Ian King <colin.king at canonical.com>

Need to match ArgType and ArgType: strings, so make it a regex

Signed-off-by: Colin Ian King <colin.king at canonical.com>
---
 data/klog.json | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/data/klog.json b/data/klog.json
index 6fb3b82..d112b86 100644
--- a/data/klog.json
+++ b/data/klog.json
@@ -930,10 +930,10 @@
     "label": "KlogAcpiControlMethodNoAttachedObject"
   },
   {
-    "compare_mode": "string",
+    "compare_mode": "regex",
     "log_level": "LOG_LEVEL_HIGH",
     "tag": "FWTS_TAG_ACPI",
-    "pattern": "Invalid ArgType 0x",
+    "pattern": "Invalid ArgType.*0x",
     "advice": "An error occurred in getting the next simple argument was expecting one of byte data, work data, dword data, qword data, char list, name or namestring, see acpi_ps_get_next_simple_arg().",
     "label": "KlogAcpi"
   },
-- 
1.8.1.2




More information about the fwts-devel mailing list