summaryrefslogtreecommitdiff
path: root/dumpstate
diff options
context:
space:
mode:
authorMichael Eastwood <mweastwood@google.com>2021-10-21 11:47:48 -0700
committerMichael Eastwood <mweastwood@google.com>2021-11-01 17:41:53 -0700
commit156d28682b141404bc09500c6506bd1b66363900 (patch)
treece902c5f0d00b6a5d66b051aafbaddf6b5224572 /dumpstate
parent094d41d73fe0804df6f6d0fc05674a9b952b4035 (diff)
downloadgs101-156d28682b141404bc09500c6506bd1b66363900.tar.gz
Save .cpa files generated when camera HAL is killed by the watchdog thread.
Bug: 197979923 Test: m -j Change-Id: I357828a2b13185cc605fe60b0d3647ad94509ffa
Diffstat (limited to 'dumpstate')
-rw-r--r--dumpstate/DumpstateDevice.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/dumpstate/DumpstateDevice.cpp b/dumpstate/DumpstateDevice.cpp
index 2d13031e..4a4def45 100644
--- a/dumpstate/DumpstateDevice.cpp
+++ b/dumpstate/DumpstateDevice.cpp
@@ -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) {