Merge "getDmabufMappedSizeKb: Use ReadDmaBufMapRefs()"

This commit is contained in:
Kalesh Singh
2021-03-09 13:34:38 +00:00
committed by Gerrit Code Review

View File

@@ -902,7 +902,7 @@ static jlong android_os_Debug_getDmabufMappedSizeKb(JNIEnv* env, jobject clazz)
continue; continue;
} }
if (!AppendDmaBufInfo(pid, &dmabufs, false)) { if (!ReadDmaBufMapRefs(pid, &dmabufs)) {
LOG(ERROR) << "Failed to read maps for pid " << pid; LOG(ERROR) << "Failed to read maps for pid " << pid;
} }
} }