ANDROID: Kconfig: add depends for UID_SYS_STATS
authorGanesh Mahendran <opensource.ganesh@gmail.com>
Wed, 24 May 2017 02:28:27 +0000 (10:28 +0800)
committerAmit Pundir <amit.pundir@linaro.org>
Wed, 21 Jun 2017 11:04:04 +0000 (16:34 +0530)
uid_io depends on TASK_XACCT and TASK_IO_ACCOUNTING.
So add depends in Kconfig before compiling code.

Change-Id: Ie6bf57ec7c2eceffadf4da0fc2aca001ce10c36e
Signed-off-by: Ganesh Mahendran <opensource.ganesh@gmail.com>
drivers/misc/Kconfig

index 5847d3be083571697f05cb7b16c299d6adc35cc1..9e649992c1776c45e153d0c5b48c01f18fa646ae 100644 (file)
@@ -527,7 +527,7 @@ config VEXPRESS_SYSCFG
 
 config UID_SYS_STATS
        bool "Per-UID statistics"
-       depends on PROFILING
+       depends on PROFILING && TASK_XACCT && TASK_IO_ACCOUNTING
        help
          Per UID based cpu time statistics exported to /proc/uid_cputime
          Per UID based io statistics exported to /proc/uid_io