summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Liu <liumartin@google.com>2020-09-24 08:36:07 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-09-24 08:36:07 +0000
commitc4406f25f183372c3960e6172ccd9d304627b301 (patch)
tree832d245baee9f937302db58a57eab50cac170230
parent3f48c96e0c38f11b56d7655cd658ba2e2e6a5492 (diff)
parent939f42e466f00b3abfacb32c2b81b939bb65162b (diff)
downloadbonito-c4406f25f183372c3960e6172ccd9d304627b301.tar.gz
dumpstate: Dump fastrpc dma buffer size am: 939f42e466
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bonito/+/12660785 Change-Id: I74387fc32c2ddc7305e3817e20426eec826b90f2
-rwxr-xr-xdumpstate/DumpstateDevice.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/dumpstate/DumpstateDevice.cpp b/dumpstate/DumpstateDevice.cpp
index 5dff0e7e..1b1b222f 100755
--- a/dumpstate/DumpstateDevice.cpp
+++ b/dumpstate/DumpstateDevice.cpp
@@ -467,6 +467,9 @@ Return<DumpstateStatus> DumpstateDevice::dumpstateBoard_1_1(const hidl_handle& h
// Keep this at the end as very long on not for humans
DumpFileToFd(fd, "WLAN FW Log Symbol Table", "/vendor/firmware/Data.msc");
+ // Dump fastrpc dma buffer size
+ DumpFileToFd(fd, "Fastrpc dma buffer", "/sys/kernel/fastrpc/total_dma_kb");
+
if (modemThreadHandle) {
pthread_join(modemThreadHandle, NULL);
}