libcamera: request: Add log point on a completed request
Add a debug log point to indicate a request has completed. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
committed by
Laurent Pinchart
parent
774f0d1b9b
commit
3acc31b0e3
@@ -212,6 +212,10 @@ void Request::complete()
|
||||
{
|
||||
ASSERT(!hasPendingBuffers());
|
||||
status_ = cancelled_ ? RequestCancelled : RequestComplete;
|
||||
|
||||
LOG(Request, Debug)
|
||||
<< "Request has completed - cookie: " << cookie_
|
||||
<< (cancelled_ ? " [Cancelled]" : "");
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user