8 Star 1 Fork 7

src-anolis-os/rasdaemon

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
1066-ras-events-demote-log-information-about-trace-being-.patch 928 Bytes
一键复制 编辑 原始数据 按行查看 历史
From a084660d11207e618a97522dff261dd15667bca8 Mon Sep 17 00:00:00 2001
From: Mauro Carvalho Chehab <[email protected]>
Date: Fri, 19 Jul 2024 09:38:52 +0200
Subject: [PATCH 66/85] ras-events: demote log information about trace being
enabled/disabled
There are already enough information outside __toggle_ras_mc_event()
to identify if a feature was enabled or disabled.
So, this is mostly for debugging purposes.
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
---
ras-events.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ras-events.c b/ras-events.c
index 4bb5f97..0bba53f 100644
--- a/ras-events.c
+++ b/ras-events.c
@@ -230,7 +230,7 @@ static int __toggle_ras_mc_event(struct ras_events *ras,
return -EIO;
}
- log(ALL, LOG_INFO, "%s:%s event %s\n",
+ log(TERM, LOG_DEBUG, "%s:%s event %s\n",
group, event,
enable ? "enabled" : "disabled");
--
2.33.1
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-anolis-os/rasdaemon.git
[email protected]:src-anolis-os/rasdaemon.git
src-anolis-os
rasdaemon
rasdaemon
a8

搜索帮助