Loading cmds/dumpstate/Android.bp +1 −0 Original line number Diff line number Diff line Loading @@ -112,6 +112,7 @@ cc_binary { ], required: [ "atrace", "dmabuf_dump", "ip", "iptables", "librank", Loading cmds/dumpstate/dumpstate.cpp +2 −4 Original line number Diff line number Diff line Loading @@ -1845,10 +1845,8 @@ Dumpstate::RunStatus Dumpstate::DumpstateDefaultAfterCritical() { RunCommand("IOTOP", {"iotop", "-n", "1", "-m", "100"}); // Gather shared memory buffer info if the product implements it struct stat st; if (!stat("/product/bin/dmabuf_dump", &st)) { RunCommand("Dmabuf dump", {"/product/bin/dmabuf_dump"}); } RunCommand("Dmabuf dump", {"dmabuf_dump"}); RunCommand("Dmabuf per-buffer/per-exporter/per-device stats", {"dmabuf_dump", "-b"}); DumpFile("PSI cpu", "/proc/pressure/cpu"); DumpFile("PSI memory", "/proc/pressure/memory"); Loading Loading
cmds/dumpstate/Android.bp +1 −0 Original line number Diff line number Diff line Loading @@ -112,6 +112,7 @@ cc_binary { ], required: [ "atrace", "dmabuf_dump", "ip", "iptables", "librank", Loading
cmds/dumpstate/dumpstate.cpp +2 −4 Original line number Diff line number Diff line Loading @@ -1845,10 +1845,8 @@ Dumpstate::RunStatus Dumpstate::DumpstateDefaultAfterCritical() { RunCommand("IOTOP", {"iotop", "-n", "1", "-m", "100"}); // Gather shared memory buffer info if the product implements it struct stat st; if (!stat("/product/bin/dmabuf_dump", &st)) { RunCommand("Dmabuf dump", {"/product/bin/dmabuf_dump"}); } RunCommand("Dmabuf dump", {"dmabuf_dump"}); RunCommand("Dmabuf per-buffer/per-exporter/per-device stats", {"dmabuf_dump", "-b"}); DumpFile("PSI cpu", "/proc/pressure/cpu"); DumpFile("PSI memory", "/proc/pressure/memory"); Loading