rteval: preface idle-set IDLESTATE with --measurement
PATCH 1/2 rteval: preface idle-set IDLESTATE with --measurement
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 <[email protected]>
--- rteval/modules/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
rteval/modules/__init__.py +1 -1
@@ -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,
Signature · 1 line
2.47.0
PATCH 2/2 rteval: Make rtla timerlat the default measurement module
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 <[email protected]>
--- rteval-cmd | 2 +- rteval.conf | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
rteval-cmd +1 -1
@@ -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
rteval.conf +2 -2
@@ -6,8 +6,8 @@ duration: 60.0 report_interval: 600 [measurement] -cyclictest: module -# timerlat: module +# cyclictest: module +timerlat: module [loads] kcompile: module
Signature · 1 line
2.47.0