android_system_core/libprocessgroup
Suren Baghdasaryan d48d7c8150 libprocessgroup/tools: Add settaskprofile command-line tool
Add a command-line tool to apply task profile(s) to a given thread.

Test: taskprofile $pid ProcessCapacityHigh; grep cpuset /proc/$pid/cgroup
Test: taskprofile $pid ProcessCapacityNormal; grep cpuset /proc/$pid/cgroup
Bug: 204808810
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: I1c13731f7a9a1161f36e27436ee104964aacbfd0
2021-11-09 22:35:51 +00:00
..
cgrouprc Fix compiling libprocessgroup against musl 2021-09-14 12:35:01 -07:00
cgrouprc_format [LSC] Add LOCAL_LICENSE_KINDS to system/core 2021-02-19 12:59:05 -08:00
include/processgroup libprocessgroup: remove hardcoded freezer path 2021-02-25 23:39:52 +00:00
profiles init.rc: Create a new group for dex2oat 2021-10-22 22:20:07 +08:00
setup libprocessgroup: introduce optional attribute for cgroup controllers 2021-03-11 17:42:30 +00:00
tools libprocessgroup/tools: Add settaskprofile command-line tool 2021-11-09 22:35:51 +00:00
Android.bp [LSC] Add LOCAL_LICENSE_KINDS to system/core 2021-02-19 12:59:05 -08:00
cgroup_map.cpp libprocessgroup: Activate controllers in cgroup v2 hierarchy at intermediate levels 2021-08-02 20:02:51 +00:00
cgroup_map.h libprocessgroup: Activate controllers in cgroup v2 hierarchy at intermediate levels 2021-08-02 20:02:51 +00:00
OWNERS Add new owners to various sub-projects. 2020-12-11 12:45:45 -08:00
processgroup.cpp libprocessgroup: Activate controllers in cgroup v2 hierarchy at intermediate levels 2021-08-02 20:02:51 +00:00
sched_policy.cpp libprocessgroup: Fix warnings when legacy schedtune cgroup is absent 2021-04-26 09:28:08 -07:00
task_profiles.cpp libprocessgroup: Prevent error spam when tests disable all cpus in a cpuset 2021-10-25 16:18:08 -07:00
task_profiles.h libprocessgroup: Prevent error spam when tests disable all cpus in a cpuset 2021-10-25 16:18:08 -07:00