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

Commit 1607401d authored by Hridya Valsaraju's avatar Hridya Valsaraju
Browse files

Stop attempting to read /d/sync

The info in /d/sync was relocated to a different file in linux kernel
version 4.8 so this read has been returning error for a while now.
Also, all debugfs usage from platform code is being cleaned up in
Android R due to the instability of its ABI and dumpstate is no longer
permitted to access debugfs.

Bug: 134669095
Test: make
Change-Id: I4fc559229b1ac5dea7371dfa7e83af173b5feb9b
parent ef211707
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1313,7 +1313,6 @@ static Dumpstate::RunStatus dumpstate() {

    DumpFile("KERNEL WAKE SOURCES", "/d/wakeup_sources");
    DumpFile("KERNEL CPUFREQ", "/sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state");
    DumpFile("KERNEL SYNC", "/d/sync");

    RunCommand("PROCESSES AND THREADS",
               {"ps", "-A", "-T", "-Z", "-O", "pri,nice,rtprio,sched,pcy,time"});