ANDROID: cpufreq: times: track per-uid time in state
authorConnor O'Brien <connoro@google.com>
Tue, 6 Feb 2018 21:30:27 +0000 (13:30 -0800)
committerConnor O'Brien <connoro@google.com>
Thu, 12 Apr 2018 20:00:33 +0000 (13:00 -0700)
commitb2ca4f89094256a09a463ee6c3b341f46b5113f8
tree6dd79701a01c56becaa622c78728e41d4f49fb4d
parent1302a3d8ce9cda4a70af3f5a617ca52015d12cab
ANDROID: cpufreq: times: track per-uid time in state

Add /proc/uid_time_in_state showing per uid/frequency/cluster
times. Allow uid removal through /proc/uid_cputime/remove_uid_range.

Signed-off-by: Connor O'Brien <connoro@google.com>
Bug: 72339335
Test: Read /proc/uid_time_in_state
Change-Id: I20ba3546a27c25b7e7991e2a86986e158aafa58c
drivers/cpufreq/cpufreq_times.c
drivers/misc/uid_sys_stats.c
include/linux/cpufreq_times.h