[libcamera-devel] [PATCH v5 03/10] libcamera: request: Add log point on a completed request
Naushir Patuck
naush at raspberrypi.com
Fri Jul 24 09:22:11 CEST 2020
Add a debug log point to indicate a request has completed.
Signed-off-by: Naushir Patuck <naush at raspberrypi.com>
---
src/libcamera/request.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/libcamera/request.cpp b/src/libcamera/request.cpp
index 6b9e0b4a..cba1715e 100644
--- a/src/libcamera/request.cpp
+++ b/src/libcamera/request.cpp
@@ -212,6 +212,9 @@ void Request::complete()
{
ASSERT(!hasPendingBuffers());
status_ = cancelled_ ? RequestCancelled : RequestComplete;
+
+ LOG(Request, Debug) << "Request has completed - cookie: "
+ << cookie_;
}
/**
--
2.25.1
More information about the libcamera-devel
mailing list