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

Commit b784b00e authored by Tiger Huang's avatar Tiger Huang Committed by android-build-merger
Browse files

Merge "dmabuf_dump: Fix aosp_x86-eng builds"

am: 91913677

Change-Id: Icd1cf63c3208f99c29617b2734d77be986cfedf8
parents 4e3efc03 91913677
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -84,8 +84,8 @@ static void PrintDmaBufInfo(const std::vector<DmaBuffer>& bufs) {

    // Iterate through all dmabufs and collect per-process sizes, refs
    for (auto& buf : bufs) {
        printf("%16" PRIu64 " |%13" PRIu64 " kB |%16" PRIu64 " |", buf.inode(), buf.size() / 1024,
               buf.total_refs());
        printf("%16ju |%13" PRIu64 " kB |%16" PRIu64 " |", static_cast<uintmax_t>(buf.inode()),
               buf.size() / 1024, buf.total_refs());
        // Iterate through each process to find out per-process references for each buffer,
        // gather total size used by each process etc.
        for (pid_t pid : pid_set) {