From patchwork Mon Jun 20 01:42:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 16276 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 D34A3BE173 for ; Mon, 20 Jun 2022 01:43:35 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 2AAA96564E; Mon, 20 Jun 2022 03:43:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1655689414; bh=Mw30lJmx6lnvS/qiZ70akxS3ydRLDhZuzOmTHoIqg7M=; 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=XW3solDbi1NibWaG7ECrjP34VjHcqnTJZFtJ+iTr2jbetF690fQPh0eDdGvn85xz4 eS/l3zaF9e56u7XppxO1FA6h0Nk/09zkKeg29wzMoWekEQUh2cFwnCRv1R6VsMCWdX 8YswiSg/yduTdaQXC2dMoDLtIO4da718pgYh5402rTJsMQWSTaF9fKu+m326pbuSil dMvhGH/xAgjL0Qblk6aiPOryqa6Qe4zY5o2JTwgMHlIgaAlzhY/vi/pPJVsCO6pYx+ DdLUPzQGdxPVC+dmRbB8cAls2zc/5sBbWxz8qMFIrk70EJHpxFXap4QPXvRW37fQ3W 99/qZ4KxqdpGw== Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id CAF9B601F1 for ; Mon, 20 Jun 2022 03:43:27 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="J053lGhH"; 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 48A29883; Mon, 20 Jun 2022 03:43:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1655689407; bh=Mw30lJmx6lnvS/qiZ70akxS3ydRLDhZuzOmTHoIqg7M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=J053lGhHHzfQP7Yhi+kMBrU4N+D1fRGt0FB4eiM3XEx0ZRJd987/gCYIvy0pXJDGG 6rQGnLwbGZxw0I1LeBOMxcqyzM5LRXurN2Jjv70LkhL5XboqrEQENZ7N2hZIEvWIuM 6fy6WmO4HrAE3ncJXipr//0W6a8sK1ZlOVSMq6cM= To: libcamera-devel@lists.libcamera.org Date: Mon, 20 Jun 2022 04:42:59 +0300 Message-Id: <20220620014305.26778-7-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220620014305.26778-1-laurent.pinchart@ideasonboard.com> References: <20220620014305.26778-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v4 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 and add a name argument to its constructor to specify the log prefix. Signed-off-by: Laurent Pinchart --- 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;