sched: move sysfs to procfs
Modify the path of vendor_sched nodes
Test: powerhal work normally
Bug: 216207007
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: I9dda321cd3375fc6dfd40c0050bd229f1d000f97
diff --git a/powerhint-slider.json b/powerhint-slider.json
index b342d53..d5eab6b 100644
--- a/powerhint-slider.json
+++ b/powerhint-slider.json
@@ -121,7 +121,7 @@
},
{
"Name": "CPUUtilThreshold",
- "Path": "/sys/kernel/vendor_sched/util_threshold",
+ "Path": "/proc/vendor_sched/util_threshold",
"Values": [
"1280",
"1100"
@@ -140,7 +140,7 @@
},
{
"Name": "TAUClampBoost",
- "Path": "/sys/kernel/vendor_sched/ta_uclamp_min",
+ "Path": "/proc/vendor_sched/ta_uclamp_min",
"Values": [
"553",
"158",
@@ -155,7 +155,7 @@
},
{
"Name": "SFUClampBoost",
- "Path": "/sys/kernel/vendor_sched/sf_uclamp_min",
+ "Path": "/proc/vendor_sched/sf_uclamp_min",
"Values": [
"125",
"65",
@@ -165,7 +165,7 @@
},
{
"Name": "MLUclampBoost",
- "Path": "/sys/kernel/vendor_sched/nnapi_uclamp_min",
+ "Path": "/proc/vendor_sched/nnapi_uclamp_min",
"Values": [
"154",
"512"
@@ -175,7 +175,7 @@
},
{
"Name": "CDPreferIdle",
- "Path": "/sys/kernel/vendor_sched/cam_prefer_idle",
+ "Path": "/proc/vendor_sched/cam_prefer_idle",
"Values": [
"0",
"1"
@@ -229,7 +229,7 @@
},
{
"Name": "TAPreferHighCap",
- "Path": "/sys/kernel/vendor_sched/ta_prefer_high_cap",
+ "Path": "/proc/vendor_sched/ta_prefer_high_cap",
"Values": [
"1",
"0"
@@ -238,7 +238,7 @@
},
{
"Name": "TAPreferIdle",
- "Path": "/sys/kernel/vendor_sched/ta_prefer_idle",
+ "Path": "/proc/vendor_sched/ta_prefer_idle",
"Values": [
"0",
"1"
@@ -247,7 +247,7 @@
},
{
"Name": "CDPreferHighCap",
- "Path": "/sys/kernel/vendor_sched/cam_prefer_high_cap",
+ "Path": "/proc/vendor_sched/cam_prefer_high_cap",
"Values": [
"1",
"0"