diff mbox series

klog.json: Add more uttrack error messages to klog database

Message ID 20240911020935.43413-7-ivan.hu@canonical.com
State Accepted
Headers show
Series klog.json: Add more uttrack error messages to klog database | expand

Commit Message

ivanhu Sept. 11, 2024, 2:09 a.m. UTC
These messages are specific to the ACPI uttrack driver.

Signed-off-by: Ivan Hu <ivan.hu@canonical.com>
---
 data/klog.json | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
diff mbox series

Patch

diff --git a/data/klog.json b/data/klog.json
index a377fd66..63dc04c4 100644
--- a/data/klog.json
+++ b/data/klog.json
@@ -344,6 +344,13 @@ 
    "advice": "The ACPI memory tracking debug has detected an allocation that already exists in the global list of, this indicates a bug in the ACPICA core.",
    "label": "KlogAcpiUtTrackDuplicateAllocation",
   },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "Could not allocate size",
+   "advice": "The ACPI driver could not allocate memory by function acpi_ut_allocate_zeroed_and_track.",
+   "label": "KlogAcpiUtAllocateMemFail",
+  },
   {
    "compare_mode": "string",
    "log_level": "LOG_LEVEL_HIGH",
@@ -351,6 +358,20 @@ 
    "advice": "The ACPI memory tracking debug has detected an attempt to delete a NULL address, this indicates a bug in the ACPICA core.",
    "label": "KlogAcpiUtTrackNullAddrDelete",
   },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "Could not free memory",
+   "advice": "The ACPI driver could not free allocated memory, this indicates a bug in the ACPICA core.",
+   "label": "KlogAcpiUtMemFreeFail",
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "Empty allocation list, nothing to free!",
+   "advice": "The ACPI driver could not remove allocated memory, this indicates a bug in the ACPICA core.",
+   "label": "KlogAcpiUtRemoveAllocateMemFail",
+  },
   {
    "compare_mode": "string",
    "log_level": "LOG_LEVEL_HIGH",