summaryrefslogtreecommitdiff
path: root/libutils/ProcessCallStack_fuzz.cpp
diff options
context:
space:
mode:
authorWei Wang <wvw@google.com>2021-12-13 17:42:08 -0800
committerWei Wang <wvw@google.com>2021-12-14 10:57:05 -0800
commitcf4b15e61fc7ac1202c645f2daea520048629a82 (patch)
tree9be816a83996b26617b6af84ec679dd5ff632584 /libutils/ProcessCallStack_fuzz.cpp
parenta2c0b86ad006876199a9b97c23958e54de7e869e (diff)
libprocessgroup: fall back to cpuset in get_sched_policy
Since vendor has a way to override the group cpu/schedtune setup, we cannot assume the group will always return valid data. This CL let get_sched_policy to fallback to cpuset if no valid data found in cpu/schedtune cgroup. In longer term, we should find a way to cache the group or app's process state in framework other than relying on reading cgroup back. Test: /data/nativetest64/libcutils_test/libcutils_test Bug: 210066228 Signed-off-by: Wei Wang <wvw@google.com> Change-Id: I8b4396365a7fc2d93e3a22746195585c140eef3c
Diffstat (limited to 'libutils/ProcessCallStack_fuzz.cpp')
0 files changed, 0 insertions, 0 deletions