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:
parent
094d41d73f
commit
156d28682b
1 changed files with 1 additions and 0 deletions
|
@ -214,6 +214,7 @@ void dumpCameraLogs(int fd, const std::string &destDir) {
|
||||||
// sessions or starts a new session after the one with performance issues).
|
// sessions or starts a new session after the one with performance issues).
|
||||||
dumpLogs(fd, kCameraLogDir, cameraDestDir, 10, "session-ended-");
|
dumpLogs(fd, kCameraLogDir, cameraDestDir, 10, "session-ended-");
|
||||||
dumpLogs(fd, kCameraLogDir, cameraDestDir, 5, "high-drop-rate-");
|
dumpLogs(fd, kCameraLogDir, cameraDestDir, 5, "high-drop-rate-");
|
||||||
|
dumpLogs(fd, kCameraLogDir, cameraDestDir, 5, "watchdog-");
|
||||||
}
|
}
|
||||||
|
|
||||||
timepoint_t startSection(int fd, const std::string §ionName) {
|
timepoint_t startSection(int fd, const std::string §ionName) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue