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

Commit 24856065 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "dumpstate: print DMA-BUF sysfs stats in bugreport" am: 9560ed62 am:...

Merge "dumpstate: print DMA-BUF sysfs stats in bugreport" am: 9560ed62 am: 9f8f0122 am: 78384d55 am: 8d5cbd91

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1545596

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I0ddb804b419172546f18f254215d12442d6db3e7
parents 7890cdaf 8d5cbd91
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -112,6 +112,7 @@ cc_binary {
    ],
    required: [
        "atrace",
        "dmabuf_dump",
        "ip",
        "iptables",
        "librank",
+2 −4
Original line number Diff line number Diff line
@@ -1846,10 +1846,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");