From patchwork Thu Nov 14 20:52:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Kacur X-Patchwork-Id: 843419 Received: from mail-qk1-f182.google.com (mail-qk1-f182.google.com [209.85.222.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 225C52905 for ; Thu, 14 Nov 2024 20:52:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.182 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731617562; cv=none; b=Mkjek4QVHun2gw0QIUL+m6MD7fk9IvcjbhBvVIUOnx1unZ8SDBey+7W0VeXYJ3RWbED+jPLqGiELMEeVAcPZGOhuzhiY7dA9W9y31w62FAsI/ZHsMVISZRiWPzaedIaMsKy5HFj7UQ1G2RNGWmOycLG3bLDsaXC3pqEJ1iLjfqI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731617562; c=relaxed/simple; bh=4sLfr0+Rwlo3q2oLjB6OjzO6AVmDrP4izn/d43KGLmE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=SbnlXzLyYyuqnuNqcUu9EG/RebP/vn29atLmkEd1ZWAeqBW1XJGEwmkUU/bSmUovJKXDjaTDrgtP4CWbnarF3Xx2+8ixkJYCCJot05y9sAKNMMprKGnAjTNNhY2WghHsgxXF8elHQAQeLcjJ5lgJMnwz0ztpE5h660JNrOB/aBY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=kbFvMBsG; arc=none smtp.client-ip=209.85.222.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="kbFvMBsG" Received: by mail-qk1-f182.google.com with SMTP id af79cd13be357-7b14df8f821so76826685a.2 for ; Thu, 14 Nov 2024 12:52:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731617560; x=1732222360; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:from:to:cc:subject:date:message-id:reply-to; bh=h3lCtt/1/WaFEWAIBh8S8Y7w9VmqO+taYcJYaE6Ue+s=; b=kbFvMBsGZ33YbKai1ztcjFLzFPqf79gEauaQGGIRLnN5Yu6b4BFw6z79OotcGjFxX3 E8yA82KuGFpKJebWqmcMG17H/kCvBvZNuyRcJnnzzHFl7A7rPj9hmw/vhwzXv+xNvqBb 7981CuCxul+95eO+MqEjDJUkXLdx7Xdfpf0nqi3DgoOlmg6f73HzSlhpFzAHe5ZzQ+9x w5vIyZKkbsCyhH5Zll7+blp3PLVPUB3PehOW01CRgLJAEoSea9FxgF3zygvNCIEsj+Rp Jnx0+01V2wWmAm64Z5qPQ3GfJZUzzntSsIBNPRBza6IvDKLRJS271nV9FuaixR2Gcslr oGTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731617560; x=1732222360; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=h3lCtt/1/WaFEWAIBh8S8Y7w9VmqO+taYcJYaE6Ue+s=; b=jQW7FXei1yRRwcPi3iLlUTXk6uQrqSL15woNZWAjcoYewxY22nov0wZL+t4b2s1tWs fpin8DQixiRB9lOfKiGezAGD6zu6jAjVsPKU/torkYgCH+FIq5yYrmP+QEl+01iJ2yqm K4IKNmrWZgh6GedmV72CPB3PoRYlv8/11KL9M13YOoTZzpI43ZWRPfvP4xVOfJtRlhmM NP91lX09AOfy7SDLBnNfyKHlcMUAsW/njM3UuFy5YzTx5k76t8qmYbEI7w1IZ2W1cNgo tT5QTcOdnnvQVdFVMdAJf/ur3Yz1nHm/MORvyaHx9ekYdXhShRF6ac0OUBC4m4o0NFgp bY4A== X-Gm-Message-State: AOJu0YwLrmBCv1RFJepeETePjV/sVnCMBMZu2gdeEzlxIWzYCClbr6t2 x7nyeJNCF0GEIuOiJujMVgvDVJicaMkMt/cZIiXVouMSm0fspmBvOX44KA== X-Google-Smtp-Source: AGHT+IGYNxOaxIXSRAog/mCgY1AJQqx1SOhaJqsW5kGNn4XXsCaJffoPYBAuEF479m8OBY6uJfN9Yg== X-Received: by 2002:a05:620a:3ac5:b0:7b1:184f:caba with SMTP id af79cd13be357-7b362362b67mr34373785a.40.1731617559611; Thu, 14 Nov 2024 12:52:39 -0800 (PST) Received: from fionn.redhat.com ([142.189.102.234]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7b35ca51c6csm88203385a.101.2024.11.14.12.52.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Nov 2024 12:52:39 -0800 (PST) Sender: John Kacur From: John Kacur To: RT , Clark Williams Cc: Crystal Wood , Tomas Glozar , John Kacur Subject: [PATCH 1/2] rteval: preface idle-set IDLESTATE with --measurement Date: Thu, 14 Nov 2024 15:52:30 -0500 Message-ID: <20241114205231.252497-1-jkacur@redhat.com> X-Mailer: git-send-email 2.47.0 Precedence: bulk X-Mailing-List: linux-rt-users@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Setting the idle state belongs to the Group Options for measurement modules and thus should be prefaced with --measurement just like the other options in that group. This change fixes that. Signed-off-by: John Kacur --- rteval/modules/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rteval/modules/__init__.py b/rteval/modules/__init__.py index 98276514de95..d60877783670 100644 --- a/rteval/modules/__init__.py +++ b/rteval/modules/__init__.py @@ -298,7 +298,7 @@ reference from the first import""" action = "store_true", default = config.GetSection("measurement").setdefault("run-on-isolcpus", "false").lower() == "true", help = "Include isolated CPUs in default cpulist") - grparser.add_argument('--idle-set', + grparser.add_argument(f'--{self.__modtype}-idle-set', dest='measurement___idlestate', metavar='IDLESTATE', default=None, From patchwork Thu Nov 14 20:52:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Kacur X-Patchwork-Id: 844465 Received: from mail-qk1-f176.google.com (mail-qk1-f176.google.com [209.85.222.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 103E018DF89 for ; Thu, 14 Nov 2024 20:52:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.176 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731617563; cv=none; b=WXjMvTqz4svwCmS8eHQPJkzmxfS2vmPdI/H1e5n8Y/80WBnNS9xej3TbYp0q4sGgcV5p58CsnTgZXt9TL/dldUA2qzC5NZsMGHzkbkzhfw4cl9gaC0vdQUJfj0JzPLF+QNoTvshFHncHQufIodTEn3Rv8FC1Iym/VKYOf7ESEEg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731617563; c=relaxed/simple; bh=KFi47GKn7XUklh+ywLyFQAJJpM+XBYyN3peGYN31+Og=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=PjQtvrDAS8DjEj+xLAELnO93R5gnzctTQhDibbGF0n6bsuRqqAF8eQ2zBcPiSuexv1c9b7h6iQBA2zy5QB9eY5tWNhmlF1yPnFjLGaV97arN4hlEMaxP8TmmJQ7u1XtklZpC7WuDdKnawrTsmeY3N9oM8hArtMsxRG20BOuZsgI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=dZVNZa/I; arc=none smtp.client-ip=209.85.222.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="dZVNZa/I" Received: by mail-qk1-f176.google.com with SMTP id af79cd13be357-7b14554468fso66610185a.1 for ; Thu, 14 Nov 2024 12:52:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731617561; x=1732222361; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=+ZPqGkqHRywePOg3cilNG9Msq6ZlH58z3PQGwbE0FHM=; b=dZVNZa/ICDHvdYdBel54NsM1yf0Nzn2jLCr1QZLQ2Sj/81slyf5HVl0jhihaFh77je u5N7Iuu6O0qpB63gZdu7YOUhxVrAx7fCC1IXum6FHdCc/wX5wKffuHuBQTGOk1iYFgns a4Z1RAxCcJPXC3L0ze6f5Lugvi0AozQY+kk9d3uahCD+2DwsSEovdytc9t3QqEMiolxA fDBViryw4uh8Us1IvvOHlUmkZzpbN2jwgogjOHnhOdcuUszCPjhXT1Xo0N25GLQPS/H7 OfwVxzGZs5mVTPLvy5kjoMZW++yt3j7FL2Dzyf7d6u1ocqXpoRinsvBU8XENJHbZz69N laaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731617561; x=1732222361; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=+ZPqGkqHRywePOg3cilNG9Msq6ZlH58z3PQGwbE0FHM=; b=jvOJRXDooCozR6I9qcf+qxFKGGfMWRsC26YdPG95HqJX6gGW0iYVzztsdlxjtiASWe BvttPf7gNbbRYLNTLngK96AuZTMNXwGcU6FRmmE4si1gg7JRLNthuPF/DiimPJQXzfnD ahhNxHTqSeSKq/uVCb1fFGeIGK4UHaLAnoMBVXFIzf7pETMx//e8gW92A5ya6lcensLU L3GN3+AsMYZ3c9nmA1KqICnrduAyoI1CTXrIX8DmBGOs6NDxydvHnXN4HerPG8igE/ZI aZ62HNR9QNxIqGRMdlf1xPBNtDB68zV02kU77ZGrxeY0VGdtZAFrCiSY1nd3TLpgtRPI A8TQ== X-Gm-Message-State: AOJu0YyyzGi+2ZNi3460aeU94uZhF+ym8QZlB5Aj3iVzalNMXsPuDJBN 6DRLfs1n5Fpj9SAAfRUZUgmCYKEtGyQkV0AT1K92qElAoq3fmSalnndvug== X-Google-Smtp-Source: AGHT+IF9YLAV53q/LZ6YH1/1/qUjjpI01gcRyaSg2iabKZ6Vv+9kLz66DfOIM5NPBG7ePkVmPfxM2w== X-Received: by 2002:a05:620a:1996:b0:7b1:3f19:b81a with SMTP id af79cd13be357-7b3623678aemr41744685a.53.1731617560644; Thu, 14 Nov 2024 12:52:40 -0800 (PST) Received: from fionn.redhat.com ([142.189.102.234]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7b35ca51c6csm88203385a.101.2024.11.14.12.52.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Nov 2024 12:52:40 -0800 (PST) Sender: John Kacur From: John Kacur To: RT , Clark Williams Cc: Crystal Wood , Tomas Glozar , John Kacur Subject: [PATCH 2/2] rteval: Make rtla timerlat the default measurement module Date: Thu, 14 Nov 2024 15:52:31 -0500 Message-ID: <20241114205231.252497-2-jkacur@redhat.com> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241114205231.252497-1-jkacur@redhat.com> References: <20241114205231.252497-1-jkacur@redhat.com> Precedence: bulk X-Mailing-List: linux-rt-users@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 This change makes timerlat the default measurement module. You can still run cyclictest by editing the rteval.conf module but if you don't specify, timerlat will run Signed-off-by: John Kacur --- rteval-cmd | 2 +- rteval.conf | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rteval-cmd b/rteval-cmd index 4e13d312a24a..9875903c0107 100755 --- a/rteval-cmd +++ b/rteval-cmd @@ -250,7 +250,7 @@ if __name__ == '__main__': if not config.HasSection('measurement'): config.AppendConfig('measurement', { - 'cyclictest' : 'module', + 'timerlat' : 'module', 'sysstat' : 'module'}) # Prepare log levels before loading modules, not to have unwanted log messages diff --git a/rteval.conf b/rteval.conf index 601410b51c28..46a9b1743716 100644 --- a/rteval.conf +++ b/rteval.conf @@ -6,8 +6,8 @@ duration: 60.0 report_interval: 600 [measurement] -cyclictest: module -# timerlat: module +# cyclictest: module +timerlat: module [loads] kcompile: module