OSDN Git Service

dumpstate: Add kernel wakeup sources info
authorTodd Poynor <toddpoynor@google.com>
Wed, 23 May 2012 00:54:59 +0000 (17:54 -0700)
committerTodd Poynor <toddpoynor@google.com>
Wed, 23 May 2012 01:26:47 +0000 (18:26 -0700)
Change-Id: I0f95afd6815c1403d8400a18ef3cd19d936d4601

cmds/dumpstate/dumpstate.c

index 165f11c..0d92fc0 100644 (file)
@@ -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);