summaryrefslogtreecommitdiffstats
path: root/cmds
diff options
context:
space:
mode:
authorTodd Poynor <toddpoynor@google.com>2012-05-22 17:54:59 -0700
committerTodd Poynor <toddpoynor@google.com>2012-05-22 18:26:47 -0700
commit29e27a84c144fe3b941648094cad2a3f1e61e8b3 (patch)
tree5cafda6ba2ca955540c39f4e68541dcac9f42567 /cmds
parent474937a5edbae6490c2b36c0d906bcbd06e6e64f (diff)
downloadframeworks_native-29e27a84c144fe3b941648094cad2a3f1e61e8b3.zip
frameworks_native-29e27a84c144fe3b941648094cad2a3f1e61e8b3.tar.gz
frameworks_native-29e27a84c144fe3b941648094cad2a3f1e61e8b3.tar.bz2
dumpstate: Add kernel wakeup sources info
Change-Id: I0f95afd6815c1403d8400a18ef3cd19d936d4601
Diffstat (limited to 'cmds')
-rw-r--r--cmds/dumpstate/dumpstate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmds/dumpstate/dumpstate.c b/cmds/dumpstate/dumpstate.c
index 165f11c..0d92fc0 100644
--- 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);