aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/Kconfig
diff options
context:
space:
mode:
authorjinqian <jinqian@google.com>2015-03-11 10:44:50 -0700
committerrogersb11 <brettrogers11@gmail.com>2015-12-02 12:25:08 -0500
commitf5ceef891ba22738dcb22ef2d2bed2b62b5e6858 (patch)
tree30f045c74d94d78e23041df61b7d49efdcc99cdc /drivers/misc/Kconfig
parentfa7b4d4938aa43fa7cbf8a75af5d0b9213b62c7d (diff)
downloadkernel_samsung_smdk4412-f5ceef891ba22738dcb22ef2d2bed2b62b5e6858.zip
kernel_samsung_smdk4412-f5ceef891ba22738dcb22ef2d2bed2b62b5e6858.tar.gz
kernel_samsung_smdk4412-f5ceef891ba22738dcb22ef2d2bed2b62b5e6858.tar.bz2
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
Diffstat (limited to 'drivers/misc/Kconfig')
-rw-r--r--drivers/misc/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index 25c56cb..a946880 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -702,6 +702,12 @@ config MPU_SENSORS_MPU6050
tristate "MPU6050"
depends on I2C
+config UID_CPUTIME
+ tristate "Per-UID cpu time statistics"
+ default n
+ help
+ Per UID based cpu time statistics exported to /proc/uid_cputime
+
source "drivers/misc/c2port/Kconfig"
source "drivers/misc/eeprom/Kconfig"
source "drivers/misc/cb710/Kconfig"