commit | 849e9fc8b673920a478fb68ad9d6c71251d4510c | [log] [tgz] |
---|---|---|
author | Suren Baghdasaryan <surenb@google.com> | Thu Apr 30 13:40:40 2020 -0700 |
committer | Suren Baghdasaryan <surenb@google.com> | Thu Apr 30 13:45:23 2020 -0700 |
tree | fd78d7cbbba3ebc3d1af35c35547f8efa60432aa | |
parent | 3c6f2df90a6d772d77c78c756a660f3c8743ad08 [diff] [blame] |
Replace direct pid writes with setting task profiles for camera 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: I2732f7365351f132dbf0566319e3969c2a25b3e4
diff --git a/camera/provider/2.4/default/android.hardware.camera.provider@2.4-external-service.rc b/camera/provider/2.4/default/android.hardware.camera.provider@2.4-external-service.rc index 64cf321..52ade97 100644 --- a/camera/provider/2.4/default/android.hardware.camera.provider@2.4-external-service.rc +++ b/camera/provider/2.4/default/android.hardware.camera.provider@2.4-external-service.rc
@@ -5,4 +5,4 @@ group audio camera input drmrpc usb ioprio rt 4 capabilities SYS_NICE - writepid /dev/cpuset/camera-daemon/tasks /dev/stune/top-app/tasks + task_profiles CameraServiceCapacity MaxPerformance