[PATCH] rteval: Fix default measurement config

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

 



Commit 761741d15d08e ("rteval: rteval-cmd: Some style changes suggested by pylint-3")
accidentally indented the check for missing measurement config, such that
it became part of the missing load conditional.  This was harmless if
the cnofig file was missing entirely, but not if the config file
exists but the measurement section is empty.

Also, remove timerlat from the default as it conflicts with cyclictest,
and we're not quite ready to make timerlat the default.

Signed-off-by: Crystal Wood <crwood@xxxxxxxxxx>
---
 rteval-cmd | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/rteval-cmd b/rteval-cmd
index 36b167a034e5..19c82a0b64b3 100755
--- a/rteval-cmd
+++ b/rteval-cmd
@@ -247,11 +247,10 @@ if __name__ == '__main__':
                 'hackbench'  : 'module',
                 'stressng'   : 'module'})
 
-            if not config.HasSection('measurement'):
-                config.AppendConfig('measurement', {
-                    'cyclictest' : 'module',
-                    'timerlat' : 'module',
-                    'sysstat' : 'module'})
+        if not config.HasSection('measurement'):
+            config.AppendConfig('measurement', {
+                'cyclictest' : 'module',
+                'sysstat' : 'module'})
 
         # Prepare log levels before loading modules, not to have unwanted log messages
         rtevcfg = config.GetSection('rteval')
-- 
2.45.2





[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