proc: uid: Adds accounting for the cputimes per uid.
authorjinqian <jinqian@google.com>
Wed, 11 Mar 2015 17:44:50 +0000 (10:44 -0700)
committerRuchi Kandoi <kandoiruchi@google.com>
Mon, 6 Apr 2015 23:37:40 +0000 (23:37 +0000)
commit3aaf46626af5875372d625644759c570a1515c3f
tree23ff8f848b90db3bab9a1135dd3982f5c7b8ed26
parentae2019d83ecf14454315240c16dc3136212f0da2
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]