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

Commit b49ddbc5 authored by Erick Reyes's avatar Erick Reyes Committed by android-build-merger
Browse files

Merge "meminfo: make dmabuf_dump dependency on debugfs optional"

am: 38c143e8

Change-Id: I25b004c4791753a5b404885838e2bbd5be070347
parents 9321874f 38c143e8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -150,8 +150,8 @@ int main(int argc, char* argv[]) {

    if (show_all) {
        if (!ReadDmaBufInfo(&bufs)) {
            std::cerr << "Unable to read DEBUGFS dmabuf info" << std::endl;
            exit(EXIT_FAILURE);
            std::cerr << "debugfs entry for dmabuf not available, skipping" << std::endl;
            bufs.clear();
        }
        std::unique_ptr<DIR, int (*)(DIR*)> dir(opendir("/proc"), closedir);
        if (!dir) {