summaryrefslogtreecommitdiff
path: root/libutils/ProcessCallStack_fuzz.cpp
diff options
context:
space:
mode:
authorSuren Baghdasaryan <surenb@google.com>2019-05-08 17:59:55 -0700
committerSuren Baghdasaryan <surenb@google.com>2019-05-17 16:18:29 -0700
commitfd285d2b70537fd3ef239ae3843c30ccf07ac161 (patch)
treece5d376bc399fa807f8550c70f6723842ca34ed8 /libutils/ProcessCallStack_fuzz.cpp
parent982259add1abf8d1dcf4f465eefee74a83e7d571 (diff)
libprocessgroup: add flags to indicate when a controller failed to mount
Controllers listed in cgroups.json file might fail to mount if kernel is not configured to support them. We need a way to indicate whether a controller was successfully mounted and is usable to avoid logging errors and warnings when a controller that failed to mount is being used. Add flags bitmask to cgrouprc controller descriptor and use a bit to indicate that controller is successfully mounted. Modify cpusets_enabled() and schedboost_enabled() functions to use this bit and report the actual availability of the controller. Bug: 124080437 Test: libcutils_test with cpuset and schedtune controllers disabled Change-Id: I770cc39fe50465146e3205aacf77dc3c56923c5d Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Diffstat (limited to 'libutils/ProcessCallStack_fuzz.cpp')
0 files changed, 0 insertions, 0 deletions