{"id":16276,"url":"https://patchwork.libcamera.org/api/1.1/patches/16276/?format=json","web_url":"https://patchwork.libcamera.org/patch/16276/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20220620014305.26778-7-laurent.pinchart@ideasonboard.com>","date":"2022-06-20T01:42:59","name":"[libcamera-devel,v4,06/12] ipa: libipa: module: Make the Module class Loggable","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"9fb78c2d614cd3c21264c008ad68f999e5324971","submitter":{"id":2,"url":"https://patchwork.libcamera.org/api/1.1/people/2/?format=json","name":"Laurent Pinchart","email":"laurent.pinchart@ideasonboard.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/16276/mbox/","series":[{"id":3191,"url":"https://patchwork.libcamera.org/api/1.1/series/3191/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=3191","date":"2022-06-20T01:42:53","name":"Add tuning file support for the RkISP1 IPA module","version":4,"mbox":"https://patchwork.libcamera.org/series/3191/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/16276/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/16276/checks/","tags":{},"headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id D34A3BE173\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 20 Jun 2022 01:43:35 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 2AAA96564E;\n\tMon, 20 Jun 2022 03:43:34 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id CAF9B601F1\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 20 Jun 2022 03:43:27 +0200 (CEST)","from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 48A29883;\n\tMon, 20 Jun 2022 03:43:27 +0200 (CEST)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1655689414;\n\tbh=Mw30lJmx6lnvS/qiZ70akxS3ydRLDhZuzOmTHoIqg7M=;\n\th=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:\n\tFrom;\n\tb=XW3solDbi1NibWaG7ECrjP34VjHcqnTJZFtJ+iTr2jbetF690fQPh0eDdGvn85xz4\n\teS/l3zaF9e56u7XppxO1FA6h0Nk/09zkKeg29wzMoWekEQUh2cFwnCRv1R6VsMCWdX\n\t8YswiSg/yduTdaQXC2dMoDLtIO4da718pgYh5402rTJsMQWSTaF9fKu+m326pbuSil\n\tdMvhGH/xAgjL0Qblk6aiPOryqa6Qe4zY5o2JTwgMHlIgaAlzhY/vi/pPJVsCO6pYx+\n\tDdLUPzQGdxPVC+dmRbB8cAls2zc/5sBbWxz8qMFIrk70EJHpxFXap4QPXvRW37fQ3W\n\t99/qZ4KxqdpGw==","v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1655689407;\n\tbh=Mw30lJmx6lnvS/qiZ70akxS3ydRLDhZuzOmTHoIqg7M=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=J053lGhHHzfQP7Yhi+kMBrU4N+D1fRGt0FB4eiM3XEx0ZRJd987/gCYIvy0pXJDGG\n\t6rQGnLwbGZxw0I1LeBOMxcqyzM5LRXurN2Jjv70LkhL5XboqrEQENZ7N2hZIEvWIuM\n\t6fy6WmO4HrAE3ncJXipr//0W6a8sK1ZlOVSMq6cM="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"J053lGhH\"; dkim-atps=neutral","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","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v4 06/12] ipa: libipa: module: Make the\n\tModule class Loggable","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","From":"Laurent Pinchart via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>","Reply-To":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"To help attribute messages logged by the Module class to a particular\nIPA module, make the class loggable and add a name argument to its\nconstructor to specify the log prefix.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n src/ipa/libipa/module.h | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)","diff":"diff --git a/src/ipa/libipa/module.h b/src/ipa/libipa/module.h\nindex 00d5785e1aa0..cd67912f1b0c 100644\n--- a/src/ipa/libipa/module.h\n+++ b/src/ipa/libipa/module.h\n@@ -27,7 +27,7 @@ namespace ipa {\n \n template<typename _Context, typename _FrameContext, typename _Config,\n \t typename _Params, typename _Stats>\n-class Module\n+class Module : public Loggable\n {\n public:\n \tusing Context = _Context;\n","prefixes":["libcamera-devel","v4","06/12"]}