diff options
author | Martin Liu <liumartin@google.com> | 2020-09-21 21:45:09 +0800 |
---|---|---|
committer | Martin Liu <liumartin@google.com> | 2020-09-22 09:31:38 +0800 |
commit | 2ae7190ad4a57e147a1353b58bd7d2e5dfa8a4a7 (patch) | |
tree | fdb074069564e298b7b10a47155f339585c0febb /dumpstate | |
parent | 4e02df1aac3978f68c97dafcd91f4624973c8e55 (diff) | |
download | bramble-2ae7190ad4a57e147a1353b58bd7d2e5dfa8a4a7.tar.gz |
dumpstate: Dump fastrpc dma buffer size
Dump fastrpc dma buffer size so we could understand
the memory usage of fastrpc.
Bug: 168084904
Test: boot
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: Iefa6795ded8d8abc377ec6a0f2237649d0164efa
Diffstat (limited to 'dumpstate')
-rwxr-xr-x | dumpstate/DumpstateDevice.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dumpstate/DumpstateDevice.cpp b/dumpstate/DumpstateDevice.cpp index cc499a7..13d51f3 100755 --- a/dumpstate/DumpstateDevice.cpp +++ b/dumpstate/DumpstateDevice.cpp @@ -713,6 +713,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"); + // Dump page owner DumpFileToFd(fd, "Page Owner", "/sys/kernel/debug/page_owner"); if (modemThreadHandle) { |