summaryrefslogtreecommitdiffstats
path: root/services/camera/libcameraservice/camera3/Camera3Stream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'services/camera/libcameraservice/camera3/Camera3Stream.cpp')
-rw-r--r--services/camera/libcameraservice/camera3/Camera3Stream.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/services/camera/libcameraservice/camera3/Camera3Stream.cpp b/services/camera/libcameraservice/camera3/Camera3Stream.cpp
index f05658a..ab563df 100644
--- a/services/camera/libcameraservice/camera3/Camera3Stream.cpp
+++ b/services/camera/libcameraservice/camera3/Camera3Stream.cpp
@@ -312,8 +312,10 @@ status_t Camera3Stream::registerBuffersLocked(camera3_device *hal3Device) {
// Got all buffers, register with HAL
ALOGV("%s: Registering %d buffers with camera HAL",
__FUNCTION__, bufferCount);
+ ATRACE_BEGIN("camera3->register_stream_buffers");
res = hal3Device->ops->register_stream_buffers(hal3Device,
&bufferSet);
+ ATRACE_END();
}
// Return all valid buffers to stream, in ERROR state to indicate