android_system_core/libprocessgroup
Bart Van Assche 0e8e4f87fd Fix the cgroup v2 thread path
The name for the file with thread IDs is "tasks" in the v1 hierarchy and
"cgroup.threads" in the v2 hierarchy.

References:
* https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v1/cgroups.html
* https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html

Bug: 213617178
Fixes: 82b72a5667 ("libprocessgroup: Add support for task profiles")
Change-Id: I87d67edeb12803cb83486be8f1b1b56a3f275a9d
Signed-off-by: Bart Van Assche <bvanassche@google.com>
2023-01-09 14:40:51 -08:00
..
cgrouprc Annotate symbols correctly 2022-09-26 22:14:43 +09:00
cgrouprc_format
include/processgroup init: skip cgroup/task_profiles configuration if cgroups are disabled 2022-10-21 13:14:23 +01:00
profiles Revert "Migrate the blkio controller to the v2 cgroup hierarchy" 2023-01-06 06:20:54 +00:00
setup
tools
Android.bp
OWNERS Updating owners of libprocessgroup 2022-12-15 19:12:33 +00:00
cgroup_map.cpp Fix the cgroup v2 thread path 2023-01-09 14:40:51 -08:00
cgroup_map.h
processgroup.cpp Don't retry kill if cgroups isn't available 2022-12-15 15:29:38 +09:00
sched_policy.cpp
task_profiles.cpp libprocessgroup: Improve error messages 2022-10-12 13:48:52 -07:00
task_profiles.h libprocessgroup: Provide SetProcessProfiles() and SetTaskProfiles() alternatives 2022-08-19 07:06:30 -07:00
task_profiles_test.cpp