commit | 9d376671ffacbeec545d6d37b50fbe284339c64a | [log] [tgz] |
---|---|---|
author | Wei Wang <wvw@google.com> | Fri Oct 11 15:09:09 2019 -0700 |
committer | Wei Wang <wvw@google.com> | Mon Oct 14 20:03:06 2019 -0700 |
tree | e53d8dd003b7366342b83d75068a61d8f0a6373c | |
parent | 7d733f64dbb26de3f1245ee6cd0520dfacfe6308 [diff] |
sched_policy: add get_cpuset/sched_policy_profile_name Expose API to return name of task profile for cpuset/sched policy so that libprocessgroup clients using SetTaskProfiles directly don't have to maintain the mapping. This reduces the risk of inconsistency and saves memory. Bug: 139521784 Test: atest libcutils_test:SchedPolicy Change-Id: I414312a038613913fb6a827bdcefceb3dec21264