dumpstate: Add kernel wakeup sources info

Change-Id: I0f95afd6815c1403d8400a18ef3cd19d936d4601
This commit is contained in:
Todd Poynor 2012-05-22 17:54:59 -07:00
parent 474937a5ed
commit 29e27a84c1

View File

@ -88,6 +88,7 @@ static void dumpstate() {
dump_file("KERNEL WAKELOCKS", "/proc/wakelocks"); 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"); dump_file("KERNEL CPUFREQ", "/sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state");
run_command("PROCESSES", 10, "ps", "-P", NULL); run_command("PROCESSES", 10, "ps", "-P", NULL);