summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2020-09-24 08:09:25 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-09-24 08:09:25 +0000
commitdbd1b5394472e1fb1cc0c5966e5922e3dbb92eaa (patch)
tree32e56e7332d533c4f402dee711ab43738bfe3d71
parent3c779c40071bcd6f5c33eb1715be99f6fce5cc7c (diff)
parent71a47ab29d097768ae62dcea0f8dbfe1e124d051 (diff)
downloadredfin-dbd1b5394472e1fb1cc0c5966e5922e3dbb92eaa.tar.gz
Merge "dumpstate: Dump fastrpc dma buffer size" into rvc-qpr-dev
-rwxr-xr-xdumpstate/DumpstateDevice.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/dumpstate/DumpstateDevice.cpp b/dumpstate/DumpstateDevice.cpp
index 3f3e331..85aa453 100755
--- a/dumpstate/DumpstateDevice.cpp
+++ b/dumpstate/DumpstateDevice.cpp
@@ -732,6 +732,9 @@ Return<DumpstateStatus> DumpstateDevice::dumpstateBoard_1_1(const hidl_handle& h
// Dump camera profiler log
RunCommandToFd(fd, "Camera Profiler Logs", {"/vendor/bin/sh", "-c", "for f in /data/vendor/camera/profiler/camx_*; do echo [$f]; cat \"$f\";done"});
+ // Dump fastrpc dma buffer size
+ DumpFileToFd(fd, "Fastrpc dma buffer", "/sys/kernel/fastrpc/total_dma_kb");
+
if (modemThreadHandle) {
pthread_join(modemThreadHandle, NULL);
}