[PATCH 1/2] rteval: preface idle-set IDLESTATE with --measurement

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <jkacur@xxxxxxxxxx>
---
 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,
-- 
2.47.0





[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux