commit | c9c0bbac5383a3688b7ef836b348ebbc075c1a8e | [log] [tgz] |
---|---|---|
author | Suren Baghdasaryan <surenb@google.com> | Thu Apr 30 11:58:39 2020 -0700 |
committer | Suren Baghdasaryan <surenb@google.com> | Thu Apr 30 22:24:21 2020 +0000 |
tree | fcd3926b7d6d0bbb3e79a8eb0a92240ddb4cb8d5 | |
parent | 1a342a12f35c7d118e6367b3b68e9e6a47b4058a [diff] |
init: Add task_profiles init command Introduce new command to allow setting task profiles from inside .rc script. This is to replace usage of writepid when a service is trying to join a cgroup. Usage example from a .rc file: service surfaceflinger /system/bin/surfaceflinger task_profiles HighPerformance Bug: 155419956 Test: change .rc file and confirm task profile is applied Signed-off-by: Suren Baghdasaryan <surenb@google.com> Change-Id: I0add9c3b363a7cb1ea89778780896cae1c8a303c