OSDN Git Service

ANDROID: uid_sys_stats: log task io with a debug flag
authorYang Jin <yajin@google.com>
Wed, 26 Jul 2017 19:52:22 +0000 (12:52 -0700)
committerAmit Pundir <amit.pundir@linaro.org>
Tue, 14 Aug 2018 12:17:11 +0000 (17:47 +0530)
commit85bde0627ffc5f0714d2ca2ec987516cc4b2a9c3
tree1817ee8474ee5d941ceefc8b20f9995b9a57aaac
parentc37ca19266ca69b842926efbb34507103926ba67
ANDROID: uid_sys_stats: log task io with a debug flag

Add a hashmap inside each uid_entry to keep track of task name and io.
Task full name is a combination of thread and process name.

Bug: 63739275
Change-Id: I30083b757eaef8c61e55a213a883ce8d0c9cf2b1
Signed-off-by: Yang Jin <yajin@google.com>
[AmitP: Folded following android-4.9 commit changes into this patch
        0ea205a6a224 ("ANDROID: uid_sys_stats: Fix implicit declaration of get_cmdline()")]
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
drivers/misc/Kconfig
drivers/misc/uid_sys_stats.c