From 1607401dbe29565caafc5058b072551d49581e49 Mon Sep 17 00:00:00 2001 From: Hridya Valsaraju Date: Mon, 5 Aug 2019 15:42:42 -0700 Subject: 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 --- cmds/dumpstate/dumpstate.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp index 0ac3e93c3b..4c778da91d 100644 --- a/cmds/dumpstate/dumpstate.cpp +++ b/cmds/dumpstate/dumpstate.cpp @@ -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"}); -- cgit v1.2.3-59-g8ed1b