1 Star 0 Fork 10

jinlun/dim

forked from src-openEuler/dim 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
backport-add-missing-line-break-in-log-printing.patch 1.03 KB
一键复制 编辑 原始数据 按行查看 历史
From 03facf95debc7d34e64b69a1da8200ada1f0a75a Mon Sep 17 00:00:00 2001
From: Huaxin Lu <luhuaxin1@huawei.com>
Date: Thu, 9 May 2024 15:47:18 +0800
Subject: [PATCH 13/28] add missing line break in log printing
---
src/core/dim_core_measure.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/core/dim_core_measure.c b/src/core/dim_core_measure.c
index 2ccd1a1..caf767c 100644
--- a/src/core/dim_core_measure.c
+++ b/src/core/dim_core_measure.c
@@ -73,13 +73,13 @@ int dim_core_interval_set(unsigned int min)
atomic_set(&measure_interval, min);
if (min == 0) {
- dim_info("cancel dim timed measure work");
+ dim_info("cancel dim timed measure work\n");
cancel_delayed_work_sync(&dim_measure_work);
} else {
jiffies = nsecs_to_jiffies64((unsigned long)min *
DIM_MINUTE_TO_NSEC);
dim_info("modify dim measure interval to %u min "
- "(jittfies = 0x%lx)", min, jiffies);
+ "(jittfies = 0x%lx)\n", min, jiffies);
mod_delayed_work(dim_work_queue, &dim_measure_work, jiffies);
}
--
2.33.0
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/jinlun123123/dim.git
git@gitee.com:jinlun123123/dim.git
jinlun123123
dim
dim
master

搜索帮助