From 54862e27b504e566b0cc7470cb0638d8e22127d4 Mon Sep 17 00:00:00 2001 From: Michael Eastwood Date: Thu, 21 Oct 2021 11:49:28 -0700 Subject: [PATCH] Save .cpa files generated when camera HAL is killed by the watchdog thread. Bug: 197979923 Test: m -j Change-Id: Ifbf22dbd9f5fe58d69e27ec157c10fafde4b18e3 --- dumpstate/DumpstateDevice.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/dumpstate/DumpstateDevice.cpp b/dumpstate/DumpstateDevice.cpp index 74a384ba..f360f7cf 100644 --- a/dumpstate/DumpstateDevice.cpp +++ b/dumpstate/DumpstateDevice.cpp @@ -208,6 +208,7 @@ void DumpstateDevice::dumpCameraLogs(int fd, const std::string &destDir) { // sessions or starts a new session after the one with performance issues). dumpLogs(fd, kCameraLogDir, cameraDestDir, 10, "session-ended-"); dumpLogs(fd, kCameraLogDir, cameraDestDir, 5, "high-drop-rate-"); + dumpLogs(fd, kCameraLogDir, cameraDestDir, 5, "watchdog-"); } timepoint_t startSection(int fd, const std::string §ionName) {