summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2021-06-23 21:05:30 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-06-23 21:05:30 +0000
commitf1eba1275482481620d047fea6e3010424b4538d (patch)
tree5e3b200da6d4716dd3dd6c08fc86675600cb6817
parent7baf903ea86064be9a423573367b340ab85ea974 (diff)
parentf7b663bdac56392330133a47ac700ca1ad464c7e (diff)
downloadextras-f1eba1275482481620d047fea6e3010424b4538d.tar.gz
Merge "Replace writepid with task_profiles command for cgroup migration"
-rw-r--r--cppreopts/cppreopts.rc2
-rw-r--r--profcollectd/profcollectd.rc2
2 files changed, 2 insertions, 2 deletions
diff --git a/cppreopts/cppreopts.rc b/cppreopts/cppreopts.rc
index a7f69445..b099e666 100644
--- a/cppreopts/cppreopts.rc
+++ b/cppreopts/cppreopts.rc
@@ -18,7 +18,7 @@ service cppreopts /system/bin/cppreopts.sh /postinstall
user root
priority -20
ioprio rt 0
- writepid /dev/cpuset/foreground/tasks
+ task_profiles ProcessCapacityHigh
capabilities
# Post install is above Treble VINTF, because it runs some utilities from
diff --git a/profcollectd/profcollectd.rc b/profcollectd/profcollectd.rc
index d1dbd9ef..c8b79558 100644
--- a/profcollectd/profcollectd.rc
+++ b/profcollectd/profcollectd.rc
@@ -4,7 +4,7 @@ service profcollectd /system/bin/profcollectd
oneshot
user root
group root wakelock
- writepid /dev/cpuset/system-background/tasks
+ task_profiles ServiceCapacityLow
on property:persist.device_config.profcollect_native_boot.enabled=true
start profcollectd