OSDN Git Service
(root)
/
android-x86
/
frameworks-native.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
474937a
)
dumpstate: Add kernel wakeup sources info
author
Todd Poynor
<toddpoynor@google.com>
Wed, 23 May 2012 00:54:59 +0000
(17:54 -0700)
committer
Todd Poynor
<toddpoynor@google.com>
Wed, 23 May 2012 01:26:47 +0000
(18:26 -0700)
Change-Id: I0f95afd6815c1403d8400a18ef3cd19d936d4601
cmds/dumpstate/dumpstate.c
patch
|
blob
|
history
diff --git
a/cmds/dumpstate/dumpstate.c
b/cmds/dumpstate/dumpstate.c
index
165f11c
..
0d92fc0
100644
(file)
--- a/
cmds/dumpstate/dumpstate.c
+++ b/
cmds/dumpstate/dumpstate.c
@@
-88,6
+88,7
@@
static void dumpstate() {
dump_file("KERNEL WAKELOCKS", "/proc/wakelocks");
+ dump_file("KERNEL WAKE SOURCES", "/d/wakeup_sources");
dump_file("KERNEL CPUFREQ", "/sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state");
run_command("PROCESSES", 10, "ps", "-P", NULL);