summaryrefslogtreecommitdiff
path: root/libunwindstack/tests/MemoryFileTest.cpp
diff options
context:
space:
mode:
authorErik Staats <estaats@google.com>2017-04-24 14:49:28 -0700
committerMark Salyzyn <salyzyn@google.com>2017-04-25 15:26:53 +0000
commitb4c4654c7ca829865c8ecfe74d1a15de11375926 (patch)
treef326427c7b33291d915b2a10e27c1fe332a83fb2 /libunwindstack/tests/MemoryFileTest.cpp
parent41346e553b76c6702c68b49d3588e710455483b9 (diff)
Change get_sched_policy to check "schedtune" and "cpuset".
get_sched_policy will first attempt to get the policy from the "schedtune" subsystem cgroup and, if not set, attempt to get the policy from the "cpuset" subsystem cgroup. If neither subsystem has a cgroup set, SP_FOREGROUND is returned. Bug: 32972117 Test: Verified that SchedPolicy libcutils test passes and that ps displays the expected policies. See details in testing done comment in https://android-review.googlesource.com/379426 . Change-Id: I586a921a38eea99d65590b07ece96c9808a2e56d
Diffstat (limited to 'libunwindstack/tests/MemoryFileTest.cpp')
0 files changed, 0 insertions, 0 deletions