Merge "Add Camera profiler CamNode log" into rvc-d1-dev am: 5c4f5be24a

Original change: https://googleplex-android-review.googlesource.com/c/device/google/redfin/+/12075418

Change-Id: I1aa92776368d2697e861f0cc0dcd8ec6e2ca7ac1
This commit is contained in:
Fo Lee 2020-07-06 09:01:03 +00:00 committed by Automerger Merge Worker
commit 999822fbda
1 changed files with 3 additions and 0 deletions

View File

@ -724,6 +724,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);
}