Replace direct pid writes with setting task profiles

For easy transition from SchedTune to UtilClamp, direct access to these
cgroups should be abstracted by using task profiles. Replace writepid
commands with new task_profiles command.

Bug: 155419956
Test: change .rc file and confirm task profile is applied
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: I05f5a082c7e6f43ab94330aede29967e91d1aef9
Merged-In: I05f5a082c7e6f43ab94330aede29967e91d1aef9
This commit is contained in:
Suren Baghdasaryan
2020-04-30 15:33:35 -07:00
parent 248896bf98
commit aeae048088

View File

@@ -5,4 +5,4 @@ service bootanim /system/bin/bootanimation
disabled disabled
oneshot oneshot
ioprio rt 0 ioprio rt 0
writepid /dev/stune/top-app/tasks task_profiles MaxPerformance