summaryrefslogtreecommitdiff
path: root/dumpstate
diff options
context:
space:
mode:
authorFo Lee <folee@google.com>2020-07-06 10:02:51 +0800
committerFo Lee <folee@google.com>2020-07-06 10:02:51 +0800
commit610b4f873e6138852335038ba2aa72e01b6d4ce5 (patch)
treef70ebca1c81939b4dd27563d5e000b7b9c000c0e /dumpstate
parentc2cc9cd3a7c618004d308787abcf2be7256046e6 (diff)
downloadbramble-610b4f873e6138852335038ba2aa72e01b6d4ce5.tar.gz
Add Camera profiler CamNode log
In order to clarify and improve video jank problem, we plan to add some CamNode log into bugreport Bug: 158243741 Change-Id: Id93e956472286cf8969ec5e96f762334957a50b8
Diffstat (limited to 'dumpstate')
-rwxr-xr-xdumpstate/DumpstateDevice.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/dumpstate/DumpstateDevice.cpp b/dumpstate/DumpstateDevice.cpp
index d5a4a5a..d3fe7aa 100755
--- a/dumpstate/DumpstateDevice.cpp
+++ b/dumpstate/DumpstateDevice.cpp
@@ -713,6 +713,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 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"});
+
if (modemThreadHandle) {
pthread_join(modemThreadHandle, NULL);
}