diff options
author | Suren Baghdasaryan <surenb@google.com> | 2020-04-30 11:58:39 -0700 |
---|---|---|
committer | Suren Baghdasaryan <surenb@google.com> | 2020-05-01 22:20:57 +0000 |
commit | 21ae541691c67c98a94fef0fc66c3ecf0410721f (patch) | |
tree | ac3023bc62291575727db4e120d0cbce5b918a1f /libutils/FileMap_test.cpp | |
parent | 67a92651a26a178ed457146f61133012f5efb0ac (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
Merged-In: I0add9c3b363a7cb1ea89778780896cae1c8a303c
Diffstat (limited to 'libutils/FileMap_test.cpp')
0 files changed, 0 insertions, 0 deletions