ADPF: taskprofile for uclamp fork reset group
Add ResetUclampGrp and NoResetUclampGrp taskprofiles to manage vendor uclamp_fork_set flag. Bug: 191973176 Test: build and manual test Change-Id: Ia9c5677c7d5855bb874a714678246ee06c9471bb
This commit is contained in:
parent
cf33914f6c
commit
b653411208
1 changed files with 28 additions and 0 deletions
|
@ -219,6 +219,34 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "ResetUclampGrp",
|
||||||
|
"Actions": [
|
||||||
|
{
|
||||||
|
"Name": "WriteFile",
|
||||||
|
"Params":
|
||||||
|
{
|
||||||
|
"FilePath": "/sys/kernel/vendor_sched/uclamp_fork_reset_set",
|
||||||
|
"Value": "<pid>",
|
||||||
|
"LogFailures": "false"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "NoResetUclampGrp",
|
||||||
|
"Actions": [
|
||||||
|
{
|
||||||
|
"Name": "WriteFile",
|
||||||
|
"Params":
|
||||||
|
{
|
||||||
|
"FilePath": "/sys/kernel/vendor_sched/uclamp_fork_reset_clear",
|
||||||
|
"Value": "<pid>",
|
||||||
|
"LogFailures": "false"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue