aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-04-28 14:11:38 +0200
committerKarel Kočí <cynerd@email.cz>2015-04-28 14:11:38 +0200
commitd98525920581e908604bedf91c50def0024e0b59 (patch)
tree93fc10b29a1092482a0a63380ce228a6852be124 /scripts
parent4761eed66e66b7227087095f41fbfa7d235f64c9 (diff)
downloadlinux-conf-perf-d98525920581e908604bedf91c50def0024e0b59.tar.gz
linux-conf-perf-d98525920581e908604bedf91c50def0024e0b59.tar.bz2
linux-conf-perf-d98525920581e908604bedf91c50def0024e0b59.zip
Add possibility of running step-by-step
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/loop.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/loop.py b/scripts/loop.py
index 4f5cdf0..c5111bf 100755
--- a/scripts/loop.py
+++ b/scripts/loop.py
@@ -122,9 +122,11 @@ class mainThread(Thread):
Thread.__init__(self, name=name)
self.term = False
def run(self):
- while not self.term:
+ if conf.step_by_step:
step()
-
+ else:
+ while not self.term:
+ step()
def loop_term():
global thr