From 0348e50c0a4221e0e0354a8bdfcaac4885e6f7ee Mon Sep 17 00:00:00 2001 From: Suren Baghdasaryan Date: Tue, 18 Jan 2022 22:44:06 +0800 Subject: [PATCH] sdm660-common: rootdir: 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 Change-Id: Ide373c283359cf4b73af4cb0813d8c0306942595 Merged-In: Ide373c283359cf4b73af4cb0813d8c0306942595 Signed-off-by: pix106 --- rootdir/etc/init.qcom.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 556198b3..7dbfe289 100755 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -789,6 +789,6 @@ service vendor.audio-hal /vendor/bin/hw/android.hardware.audio.service group audio camera drmrpc inet media mediadrm net_bt net_bt_admin net_bw_acct oem_2901 wakelock capabilities BLOCK_SUSPEND ioprio rt 4 - writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks + task_profiles ProcessCapacityHigh HighPerformance socket audio_hw_socket seqpacket 0666 system system onrestart restart audioserver