26 lines
993 B
Diff
26 lines
993 B
Diff
|
|
From 3dda5f68db38b63b1e45a28558a9fcd341c1f945 Mon Sep 17 00:00:00 2001
|
||
|
|
From: jwolf <523083921@qq.com>
|
||
|
|
Date: Fri, 20 Sep 2024 15:59:40 +0800
|
||
|
|
Subject: [PATCH] should be warn-level log
|
||
|
|
|
||
|
|
---
|
||
|
|
src/c/catcli/catlib/plugin/cpu_patrol/cpu_patrol_result.c | 2 +-
|
||
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
|
||
|
|
diff --git a/src/c/catcli/catlib/plugin/cpu_patrol/cpu_patrol_result.c b/src/c/catcli/catlib/plugin/cpu_patrol/cpu_patrol_result.c
|
||
|
|
index 9f8d80c..f4f3172 100644
|
||
|
|
--- a/src/c/catcli/catlib/plugin/cpu_patrol/cpu_patrol_result.c
|
||
|
|
+++ b/src/c/catcli/catlib/plugin/cpu_patrol/cpu_patrol_result.c
|
||
|
|
@@ -23,7 +23,7 @@ static cat_return_t insert_core_to_list(core_list_st *core_list, int coreid)
|
||
|
|
return CAT_OK;
|
||
|
|
}
|
||
|
|
if ((core_list->current_nums == MAX_ISOLATE_CORES_PER_PATROL) || (coreid < 0)) {
|
||
|
|
- CAT_LOG_E("Insert error, core id(%d)", coreid);
|
||
|
|
+ CAT_LOG_W("Too many cores need to isolate,do not isolate core(%d)", coreid);
|
||
|
|
return CAT_ERR;
|
||
|
|
}
|
||
|
|
|
||
|
|
--
|
||
|
|
2.27.0
|
||
|
|
|