Save .cpa files generated when camera HAL is killed by the watchdog thread.

Bug: 197979923
Test: m -j
Change-Id: I357828a2b13185cc605fe60b0d3647ad94509ffa
This commit is contained in:
Michael Eastwood 2021-10-21 11:47:48 -07:00
parent 094d41d73f
commit 156d28682b

View file

@ -214,6 +214,7 @@ void 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 &sectionName) {