| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: Id6ba06121202e1e4cc5a7f2f53a278518afb977c
|
|
|
|
| |
Change-Id: Id55306a358bc782f753a8a756a3cbb1665b5146f
|
|
|
|
|
|
| |
Bug: 22833116
Change-Id: I775a18f61bd2f4df2bec23d01bd49421d0969f87
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
|
|
|
|
|
|
|
|
| |
cputime_t is u64. Use %llu instead of %u.
Bug: 22461683
Change-Id: Ia9a343a826e62cc73d2f61caf15651aee0233e9a
Signed-off-by: Jin Qian <jinqian@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This avoids the race where a particular process is terminating and we
read the show_uid_stats. At this time since the task_struct still exists
and we will account for the terminating process as one of the active
task, where as the stats would have been added in the task exit
callback.
Bug: 22064385
Change-Id: Id2ae04b33fcd230eda9683a41b6019d4dd8f5d85
Signed-off-by: Jin Qian <jinqian@google.com>
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
|
|
|
|
|
|
|
|
|
| |
/proc/uid_cputime/show_uid_stats shows a third field power for each of
the uids. It represents the power in the units (uAusec)
Bug: 21498425
Change-Id: I52fdc5e59647e9dc97561a26d56f462a2689ba9c
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
|
|
|
|
|
| |
Change-Id: I0fb7ff1864f16c573cf09acd2c773369e8c9ced7
Signed-off-by: Jin Qian <jinqian@google.com>
|
|
|
|
|
|
|
| |
In order to keep the code consistent with all other platforms, the
thread notifier is changed to profile event notifier.
Change-Id: I5b996c789927b42dacba10af6fe81a21866e2c8f
|
|
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
|