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 <gh0strider.2k18.reborn@gmail.com>
Signed-off-by: Karan Parashar <whyredfire@gmail.com>
Change-Id: I0cdf63daa4eb043488a6d0eceb492af36df8882d
This commit is contained in:
Suren Baghdasaryan 2022-02-14 10:42:50 +05:30 committed by Ultra119
parent 0258bb0a50
commit 48171eb52c

View file

@ -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 group audio camera drmrpc inet media mediadrm net_bt net_bt_admin net_bw_acct oem_2901 wakelock system
capabilities BLOCK_SUSPEND SYS_NICE capabilities BLOCK_SUSPEND SYS_NICE
ioprio rt 4 ioprio rt 4
writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks task_profiles ProcessCapacityHigh HighPerformance
socket audio_hw_socket seqpacket 0666 system system socket audio_hw_socket seqpacket 0666 system system
onrestart restart audioserver onrestart restart audioserver