From patchwork Thu Jun 23 23:27:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 16360 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 9C031BE173 for ; Thu, 23 Jun 2022 23:28:06 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id D264065635; Fri, 24 Jun 2022 01:28:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1656026885; bh=blipsBj3PFrKRXNgnTsG0uUbFpehsJfENvrfzYfw9zs=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=TpXJ951MU8Q6NpSQZRQJPolX2cJl9kyrQnvKN852ar8IFlWAOYueCEThQnl7jJ0B3 lnXwGmjGFW9VE6x8qrWu2/Qd05MKpfkQpUBaGTcbhGUxKxdHLR/KZpzoUHOar0Qpb0 b+/W4J/PO3mPfGPvJo1Y8Y/zg1dSLP5rrT3ahYCqeCDi38vex3PqsPxL20fFlE4mik 8AHFikEy5Q4X4ioTs9Wn244VuLXZN6x0Xi88Pefhor8idVf4Qg6Qp3SKJ0TVSH2D9u IuiAQp1QApaSaEkdu7SdS7B+bbMV5/bgkaLjkptFcnjWGgcq2nc2nODVohuKk4sp2G 435bMNxMLrDag== Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id B2B5161FB2 for ; Fri, 24 Jun 2022 01:28:04 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="nYKDt6vQ"; dkim-atps=neutral Received: from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id D77E9DD; Fri, 24 Jun 2022 01:28:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1656026884; bh=blipsBj3PFrKRXNgnTsG0uUbFpehsJfENvrfzYfw9zs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nYKDt6vQkcMgdn3vKwdFeyxPzrNjzNcOAJm4aeERtYoVlPo2dQ2Ii5rFG7R0YrHyH ZfVkygiePryvCdT4Pn48W4gLImIO7HcjVhM/0jbTAlLKj3xX0IcC10hFPPeNJcvDDZ 7MkmEJxOG9IbNDV55hOJCVa9AD66BILo6AH3UTvo= To: libcamera-devel@lists.libcamera.org Date: Fri, 24 Jun 2022 02:27:41 +0300 Message-Id: <20220623232741.19753-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: References: MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v4.1 06/12] ipa: libipa: module: Make the Module class Loggable 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: , X-Patchwork-Original-From: Laurent Pinchart via libcamera-devel From: Laurent Pinchart Reply-To: Laurent Pinchart Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" To help attribute messages logged by the Module class to a particular IPA module, make the class loggable. The logPrefix() function must be implemented by the IPA module-specific derived class. Signed-off-by: Laurent Pinchart Reviewed-by: Paul Elder --- Changes since v4: - Fix the commit message --- src/ipa/libipa/module.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ipa/libipa/module.h b/src/ipa/libipa/module.h index 00d5785e1aa0..cd67912f1b0c 100644 --- a/src/ipa/libipa/module.h +++ b/src/ipa/libipa/module.h @@ -27,7 +27,7 @@ namespace ipa { template -class Module +class Module : public Loggable { public: using Context = _Context;