camera: print the oversized result size
It's generally a bad thing to have the result exploded to exceed the shared message max depth (1MB). Print the size when such case occurs for better debugging output. Bug: 77665564 Change-Id: I971fca202aa3ca0fa1863e9c658659d0775a1ad4
This commit is contained in:
parent
7f8caede5f
commit
9b61e6197e
1 changed files with 4 additions and 1 deletions
|
@ -645,7 +645,10 @@ void CameraDeviceSession::ResultBatcher::invokeProcessCaptureResultCallback(
|
|||
result.fmqResultSize = result.result.size();
|
||||
result.result.resize(0);
|
||||
} else {
|
||||
ALOGW("%s: couldn't utilize fmq, fall back to hwbinder", __FUNCTION__);
|
||||
ALOGW("%s: couldn't utilize fmq, fall back to hwbinder, result size: %zu,"
|
||||
"shared message queue available size: %zu",
|
||||
__FUNCTION__, result.result.size(),
|
||||
mResultMetadataQueue->availableToWrite());
|
||||
result.fmqResultSize = 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue