oeAware-scenario/0001-fix-config-path.patch
fly_1997 d755cb8e54 fix config path
(cherry picked from commit d226a10bdf0f1b0e51d0e4fc864fe74981539b8b)
2024-06-05 09:46:19 +08:00

26 lines
833 B
Diff

From 7486b68d7b8506acbf07e23c1ddc24a18cccf1f2 Mon Sep 17 00:00:00 2001
From: fly_1997 <flylove7@outlook.com>
Date: Mon, 3 Jun 2024 09:44:13 +0800
Subject: [PATCH] fix config path
---
thread_aware/thread_aware.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/thread_aware/thread_aware.cpp b/thread_aware/thread_aware.cpp
index b9db088..b88b437 100644
--- a/thread_aware/thread_aware.cpp
+++ b/thread_aware/thread_aware.cpp
@@ -17,7 +17,7 @@
char name[] = "thread_scenario";
char dep[] = "thread_collector";
-const std::string CONFIG_PATH = "/usr/lib64/oeAware-plugin/thread_scenario.ini";
+const std::string CONFIG_PATH = "/usr/lib64/oeAware-plugin/thread_scenario.conf";
const int CYCLE_SIZE = 100;
static std::vector<ThreadInfo> thread_info(THREAD_NUM);
static DataRingBuf data_ring_buf;
--
2.33.0