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

Commit c6b406f0 authored by Mike Chan's avatar Mike Chan
Browse files

frameworks: base: dumpstate: Dump kernel cpufreq speeds.



Change-Id: I99194df1d6c46254affef86ea8eb39e784c3dfb3
Signed-off-by: default avatarMike Chan <mike@android.com>
parent f854e077
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -84,6 +84,8 @@ static void dumpstate(int full) {
        EXEC("dmesg");
        EXEC("dmesg");
        PRINT("------ KERNEL WAKELOCKS ------");
        PRINT("------ KERNEL WAKELOCKS ------");
        DUMP("/proc/wakelocks");
        DUMP("/proc/wakelocks");
        PRINT("------ KERNEL CPUFREQ ------");
        DUMP("/sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state");
        PRINT("");
        PRINT("");
        PRINT("------ PROCESSES ------");
        PRINT("------ PROCESSES ------");
        EXEC1("ps", "-P");
        EXEC1("ps", "-P");