From 48171eb52cff091bafdd654b5eb27f71963c4b14 Mon Sep 17 00:00:00 2001 From: Suren Baghdasaryan Date: Mon, 14 Feb 2022 10:42:50 +0530 Subject: [PATCH] sdm710-common: rootdir: Replace writepid with task_profiles - writepid command usage to join a cgroup has been deprecated in favor of a more flexible approach using task_profiles. This way cgroup path is not hardcoded and cgroup changes can be easily made. Replace writepid with task_profiles command to migrate between cgroups. Signed-off-by: Adithya R Signed-off-by: Karan Parashar Change-Id: I0cdf63daa4eb043488a6d0eceb492af36df8882d --- 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 d83a79c..8849228 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -1053,7 +1053,7 @@ 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 system capabilities BLOCK_SUSPEND SYS_NICE 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