commit | f33460ac812604b939c835a3bff491f4cbb21291 | [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 | c6b4b557d3c159906cc4362801a9418b6b6457c2 [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