Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 29e27a84 authored by Todd Poynor's avatar Todd Poynor
Browse files

dumpstate: Add kernel wakeup sources info

Change-Id: I0f95afd6815c1403d8400a18ef3cd19d936d4601
parent 474937a5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);