mirror of
https://github.com/Evolution-X-Devices/device_google_redfin
synced 2026-02-01 05:34:34 +00:00
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> Merged-In: I24251ec2d50fedec40939df480a6473a8a7ef187 Change-Id: I24251ec2d50fedec40939df480a6473a8a7ef187
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user