summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorKalesh Singh <kaleshsingh@google.com>2021-03-09 13:34:38 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-03-09 13:34:38 +0000
commit36f5f53a6102b893f8a29de337696d95ff63827d (patch)
treeb66d719769202e6a5451ad6d6cafad2d27a3ad49 /core
parentdfbd3a4072446a74662f32e6b53bdfa615348f33 (diff)
parent66d2190ed6bdc6533f48ba4256b200555b9b3031 (diff)
Merge "getDmabufMappedSizeKb: Use ReadDmaBufMapRefs()"
Diffstat (limited to 'core')
-rw-r--r--core/jni/android_os_Debug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/jni/android_os_Debug.cpp b/core/jni/android_os_Debug.cpp
index 0e3db46bd0c9..f379ba0ddebb 100644
--- a/core/jni/android_os_Debug.cpp
+++ b/core/jni/android_os_Debug.cpp
@@ -902,7 +902,7 @@ static jlong android_os_Debug_getDmabufMappedSizeKb(JNIEnv* env, jobject clazz)
continue;
}
- if (!AppendDmaBufInfo(pid, &dmabufs, false)) {
+ if (!ReadDmaBufMapRefs(pid, &dmabufs)) {
LOG(ERROR) << "Failed to read maps for pid " << pid;
}
}