| commit | 7b173a148befe5fdc6ce7485238ff2f51d1995a2 | [log] [tgz] |
|---|---|---|
| author | Martijn Coenen <maco@google.com> | Mon Apr 04 17:11:56 2016 +0200 |
| committer | Martijn Coenen <maco@google.com> | Mon Apr 04 17:11:56 2016 +0200 |
| tree | 8094b6866a08e83dcbcf0b93b46bbff7221839a1 | |
| parent | 1ab87e7712cea615ecdf70e65d74d14d3fd8fa85 [diff] |
Update get_sched_policy to return TOP_APP correctly. Currently get_sched_policy() would only return foreground or background, but not TOP_APP, since it's not looking at CPUsets at all. Fixing this makes testing easier, and it also corrects the output of "ps -P" to show "ta" for current top app. Bug: 27857142 Change-Id: I589cacc107f355de15750f01b06f404b59a0f99b