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:
Jimmy Shiu 2021-07-13 15:01:55 +08:00
parent cf33914f6c
commit b653411208

View file

@ -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"
}
}
]
}
]
}