diff options
Diffstat (limited to 'run/tracer.py')
-rw-r--r-- | run/tracer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/run/tracer.py b/run/tracer.py index 723bcad..303aae0 100644 --- a/run/tracer.py +++ b/run/tracer.py | |||
@@ -37,7 +37,7 @@ class LinuxTracer(Tracer): | |||
37 | 37 | ||
38 | @staticmethod | 38 | @staticmethod |
39 | def enabled(): | 39 | def enabled(): |
40 | return os.path.exists(LinuxTracer.LITMUS_EVENTS) | 40 | return conf.BINS['trace-cmd'] and os.path.exists(LinuxTracer.LITMUS_EVENTS) |
41 | 41 | ||
42 | def stop_tracing(self): | 42 | def stop_tracing(self): |
43 | map(methodcaller('interrupt'), self.bins) | 43 | map(methodcaller('interrupt'), self.bins) |