aboutsummaryrefslogtreecommitdiff
path: root/scripts/boot.py
diff options
context:
space:
mode:
authorKarel Kočí <kocikare@fel.cvut.cz>2015-08-11 19:19:30 +0200
committerKarel Kočí <cynerd@email.cz>2015-08-12 10:22:55 +0200
commite4c7d71976be006f1edfaa5ee3ad7619c9a77bba (patch)
tree600d988d91a8a6bd7d0371f25fb68f8678b39095 /scripts/boot.py
parent21195308311758b0725773e0a19d1e0edd176c8f (diff)
downloadlinux-conf-perf-e4c7d71976be006f1edfaa5ee3ad7619c9a77bba.tar.gz
linux-conf-perf-e4c7d71976be006f1edfaa5ee3ad7619c9a77bba.tar.bz2
linux-conf-perf-e4c7d71976be006f1edfaa5ee3ad7619c9a77bba.zip
Add parse_script
Parsing maximal value from first thread as result.
Diffstat (limited to 'scripts/boot.py')
-rw-r--r--scripts/boot.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/boot.py b/scripts/boot.py
index 7ae30a9..2d1461a 100644
--- a/scripts/boot.py
+++ b/scripts/boot.py
@@ -29,7 +29,8 @@ def boot(config, to_database = True):
value = None
try:
- out = utils.callsubprocess('parse_command', conf.parse_command,
+ out = utils.callsubprocess('parse_command', conf.parse_command +
+ [os.path.join(conf.output_folder, config.cfile)],
conf.parse_output, True)
value = float(out[0])
except Exception as e: