dre: Replace writepid with task_profiles command for cgroup migration
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. Bug: 191283136 Test: build and boot Change-Id: I12fe7186af1ee5db6f19d485987e78ae0792c606 Signed-off-by: Suren Baghdasaryan <surenb@google.com>
This commit is contained in:
parent
d62372d358
commit
c747af4dc8
1 changed files with 9 additions and 0 deletions
|
@ -61,6 +61,15 @@ function blob_fixup() {
|
|||
system_ext/lib64/libwfdnative.so)
|
||||
sed -i "s/android.hidl.base@1.0.so/libhidlbase.so\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00/" "${2}"
|
||||
;;
|
||||
odm/etc/init/android.hardware.drm@1.3-service.widevine.rc)
|
||||
sed -i "s|writepid /dev/cpuset/foreground/tasks|task_profiles ProcessCapacityHigh|g" "${2}"
|
||||
;;
|
||||
vendor/etc/init/android.hardware.neuralnetworks@1.3-service-qti.rc)
|
||||
sed -i "s|writepid /dev/stune/nnapi-hal/tasks|task_profiles NNApiHALPerformance|g" "${2}"
|
||||
;;
|
||||
vendor/etc/init/vendor.qti.media.c2@1.0-service.rc)
|
||||
sed -i "s|writepid /dev/cpuset/foreground/tasks|task_profiles ProcessCapacityHigh|g" "${2}"
|
||||
;;
|
||||
vendor/etc/libnfc-nci.conf)
|
||||
sed -i "s/NFC_DEBUG_ENABLED=1/NFC_DEBUG_ENABLED=0/" "${2}"
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue