From patchwork Fri Jul 24 07:22:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 8947 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 81F06BD86F for ; Fri, 24 Jul 2020 07:22:54 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 0ED5D61167; Fri, 24 Jul 2020 09:22:54 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="DUhamE2A"; dkim-atps=neutral Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 5F6496114F for ; Fri, 24 Jul 2020 09:22:51 +0200 (CEST) Received: by mail-wm1-x332.google.com with SMTP id c80so7046714wme.0 for ; Fri, 24 Jul 2020 00:22:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=qYbApfo0rfindTrJ7SjqjwEuCzxm503ZdeRgz8oz8mw=; b=DUhamE2AyYA5GmfOiHdawMiBrRkGCq9BhdX21lfD+ehbfjt//xXpyT+Y6Z2Fw2V/IE H6IeDA5IILWIQFNT5iYzKJUgt+jKnj2YC8lk1EurWmwE7Xv+tb/w4ys7F9LCL9na5KlL 2v3cwARTH1IuqUJtrVUWOUuqhhn81TfB9Gj1g0J0WfLACx9bVfCqAPY6czI8ILuYqSMR NR+qlDBNVLazXGCAzvu7z5s1WZDBoPoCaNb057Osn6RpV0FlXsGeNQKkKTAL/vmF2TBa 9gPSLukhRZ6ofULXscrNmbV0mwTwEFYvCFBtNbWorIp8F+czFqciw8OLTmdiYhB7LhBu eV2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=qYbApfo0rfindTrJ7SjqjwEuCzxm503ZdeRgz8oz8mw=; b=paZNn2GWIMXnvIGx46dPVPjLkYhFjnSXmKclq7U9J3IE8I567VFXDKYak1jeTqe2nH Xyn+U34uxhmZMK7+FBIaYkjgcjWe2WrDEcW1eEsEDx5ppF2IpYlbApjyYbxYR4hav/BX bd/AUO0o0V2ZF7U52dDJUcU94m7Y8yGru2731FrbBKA3xk053OthR0Tx6dZus55WEtrz M3ykDY2panlJSyKLunWDjM9dAatBp5FtkH9sbx2+DfkKFyPJ+bMJ44usFOjQ9nc7HYFu HvN44/sFU6i5wh5y4sy3stXS+JMOD/gWBPb46U3+m8FXzxzJCUD24uo9Q9HJ+yh2rllE gMTA== X-Gm-Message-State: AOAM533TB47BWLVTPMxCJxfsNhcepD0jvyvUnmjAGxlfa7deqFbR4vAs cflKSRjR8Wwo6GVakBYB4P2fcfMXz6Kb9A== X-Google-Smtp-Source: ABdhPJwSFOFVW8fwZZs+clAHKN9q5OoP6fvbQhMCYk25bAiuhyUS1SRUbvY/FOYka9V+sXZ0HBnYbg== X-Received: by 2002:a7b:cc92:: with SMTP id p18mr7830388wma.4.1595575370578; Fri, 24 Jul 2020 00:22:50 -0700 (PDT) Received: from naushir-VirtualBox.patuck.local ([88.97.76.4]) by smtp.gmail.com with ESMTPSA id 32sm246595wrn.86.2020.07.24.00.22.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jul 2020 00:22:49 -0700 (PDT) From: Naushir Patuck To: libcamera-devel@lists.libcamera.org Date: Fri, 24 Jul 2020 08:22:11 +0100 Message-Id: <20200724072218.943245-4-naush@raspberrypi.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200724072218.943245-1-naush@raspberrypi.com> References: <20200724072218.943245-1-naush@raspberrypi.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v5 03/10] libcamera: request: Add log point on a completed request X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Add a debug log point to indicate a request has completed. Signed-off-by: Naushir Patuck --- 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_; } /**