proc: uid: Adds accounting for the cputimes per uid.
authorjinqian <jinqian@google.com>
Wed, 11 Mar 2015 17:44:50 +0000 (10:44 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:53:51 +0000 (13:53 -0800)
commit28f0fe30540ee4a852c9e2357725f5119bc67f87
tree9a4dfcdf2262fbec03682ab329d5604b7b495451
parent87a7a2cfbe48c29e48ed846d939f82d710780d99
proc: uid: Adds accounting for the cputimes per uid.

Adds proc files /proc/uid_cputime/show_uid_stat and
/proc/uid_cputime/remove_uid_range.

show_uid_stat lists the total utime and stime for the active as well as
terminated processes for each of the uids.

Writing a range of uids to remove_uid_range will delete the accounting
for all the uids within that range.

Change-Id: I21d9210379da730b33ddc1a0ea663c8c9d2ac15b
drivers/misc/Kconfig
drivers/misc/Makefile
drivers/misc/uid_cputime.c [new file with mode: 0644]