ipc: Replace direct pid writes with setting task profiles for audio interfaces
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: Ide373c283359cf4b73af4cb0813d8c0306942595
diff --git a/ipc/HwBinders/agm_ipc_service/vendor.qti.hardware.AGMIPC@1.0-service.rc b/ipc/HwBinders/agm_ipc_service/vendor.qti.hardware.AGMIPC@1.0-service.rc
index a9c4563..6c5e026 100644
--- a/ipc/HwBinders/agm_ipc_service/vendor.qti.hardware.AGMIPC@1.0-service.rc
+++ b/ipc/HwBinders/agm_ipc_service/vendor.qti.hardware.AGMIPC@1.0-service.rc
@@ -34,4 +34,3 @@
capabilities BLOCK_SUSPEND SYS_NICE
ioprio rt 4
task_profiles ProcessCapacityHigh HighPerformance
- writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks