From patchwork Thu Nov 24 11:38:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Elder X-Patchwork-Id: 17879 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 2B127BE08B for ; Thu, 24 Nov 2022 11:39:03 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 9B6436331B; Thu, 24 Nov 2022 12:39:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1669289942; bh=KuF1vSIM6IBTBovGT+h5/XPXbT9cxPWQ819LgLCyHgI=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=L/a3zf29b8qmPRsEnUAMQnuzB9c3s4nFtyE/BVAUh35YrzNI/zzTnqHgLGrL93emH LwRCdSiQ7f7L6oC3Oc1WxwUNOXLyAWW7KMe/UsJLVx/ApNw4fDELXqZRczZmdmZduh vDwJNDoxhZvjWnkDHJmbO73QZif++w91gNaFeZA+4//ijuSNnuSLqxiaQGFoziwmIf LWLgb1BWHVg+iPaftLtg7XPGULEJMjsNZ3HTbEB2iq5ayQQIh9HBXpz1kFSU5sT6gv 2Myl6lFbk5RJfpcanhSABCYieG6tgnAUGaQjerOyZCvnWWozqsCiJboNQ+R1ttJUiR f1ap0gtCD6/eQ== Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id DCD64632EA for ; Thu, 24 Nov 2022 12:39:00 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="aDzsl499"; dkim-atps=neutral Received: from pyrite.tail37cf.ts.net (h175-177-042-159.catv02.itscom.jp [175.177.42.159]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 8F054496; Thu, 24 Nov 2022 12:38:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1669289940; bh=KuF1vSIM6IBTBovGT+h5/XPXbT9cxPWQ819LgLCyHgI=; h=From:To:Cc:Subject:Date:From; b=aDzsl4995h6bHMv2HTPk1hFA7mox2FLBP88Xgy9dp5AX6gZk4QRjqrr+G36mKjzV1 DOaYVu5gFBknkrabS9HkFMLvJ8ElN0TESuf8Bsg23pwH53+bg5typbAdrIUterWaQ4 Ylx/3B9rfCPHP32OfHZLj6uTieIettKa+MgtBKfE= To: libcamera-devel@lists.libcamera.org Date: Thu, 24 Nov 2022 20:38:43 +0900 Message-Id: <20221124113849.2193579-1-paul.elder@ideasonboard.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 0/6] utils: tuning: Add per-module debugging 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: Paul Elder via libcamera-devel From: Paul Elder Reply-To: Paul Elder Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" This series depends on v4 of "utils: tuning: Add a new tuning infrastructure". This patch series adds per-module debugging, and as a first user adds to the LSC modules debug plotting of the LSC table for each image. The debugging mode is also changed to be enabled from command line arguments, as opposed to the tuning script (like libtuning originally did) and also as opposed to the configuration file (like ctt originally did). Paul Elder (6): utils: libtuning: module: Prepare per-module debugging infrastructure utils: libtuning: modules: lsc: Add debug plot function utils: libtuning: lsc: raspberry: Add per-image debug plotting utils: libtuning: lsc: rkisp1: Add per-image debug plotting utils: libtuning: parsers: raspberrypi: Ignore the plot config parameter utils: libtuning: Get debug parameters from cli arguments utils/tuning/libtuning/libtuning.py | 40 +++++++++++++++++-- utils/tuning/libtuning/modules/lsc/lsc.py | 34 ++++++++++++++-- .../libtuning/modules/lsc/raspberrypi.py | 3 +- utils/tuning/libtuning/modules/lsc/rkisp1.py | 3 ++ utils/tuning/libtuning/modules/module.py | 6 +++ .../libtuning/parsers/raspberrypi_parser.py | 10 ++--- utils/tuning/raspberrypi/alsc.py | 1 - utils/tuning/rkisp1.py | 1 - 8 files changed, 81 insertions(+), 17 deletions(-)