From 9c58977aaf8af7bc3579edb1b682bb6e4089e774 Mon Sep 17 00:00:00 2001 From: Jin Qian Date: Tue, 10 Jan 2017 16:11:07 -0800 Subject: [PATCH] ANDROID: uid_sys_stats: rename uid_cputime.c to uid_sys_stats.c This module tracks cputime and io stats. Signed-off-by: Jin Qian Bug: 34198239 Change-Id: I9ee7d9e915431e0bb714b36b5a2282e1fdcc7342 Conflicts: drivers/misc/Kconfig drivers/misc/Makefile Signed-off-by: Francisco Franco --- drivers/misc/Kconfig | 9 +++++---- drivers/misc/Makefile | 2 +- drivers/misc/{uid_cputime.c => uid_sys_stats.c} | 0 3 files changed, 6 insertions(+), 5 deletions(-) rename drivers/misc/{uid_cputime.c => uid_sys_stats.c} (100%) diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 4a27b072a9f..3fb20df14a1 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig @@ -554,14 +554,15 @@ config TIMA_LOG default y help This option enables support for dumping TIMA log. - -config UID_CPUTIME - tristate "Per-UID cpu time statistics" + +config UID_SYS_STATS + tristate "Per-UID statistics" depends on PROFILING default y help Per UID based cpu time statistics exported to /proc/uid_cputime - + Per UID based io statistics exported to /proc/uid_io + source "drivers/misc/c2port/Kconfig" source "drivers/misc/eeprom/Kconfig" source "drivers/misc/cb710/Kconfig" diff --git a/drivers/misc/Makefile b/drivers/misc/Makefile index 9c866ae2bd3..26f70feb619 100644 --- a/drivers/misc/Makefile +++ b/drivers/misc/Makefile @@ -80,4 +80,4 @@ obj-$(CONFIG_DM_VERITY) += dmverity_query.o # Tima obj-$(CONFIG_TIMA_LOG) += tima_debug_log.o -obj-$(CONFIG_UID_CPUTIME) += uid_cputime.o \ No newline at end of file +obj-$(CONFIG_UID_SYS_STATS) += uid_sys_stats.o \ No newline at end of file diff --git a/drivers/misc/uid_cputime.c b/drivers/misc/uid_sys_stats.c similarity index 100% rename from drivers/misc/uid_cputime.c rename to drivers/misc/uid_sys_stats.c -- 2.20.1