aboutsummaryrefslogtreecommitdiff
path: root/trappy/ftrace.py
diff options
context:
space:
mode:
Diffstat (limited to 'trappy/ftrace.py')
-rw-r--r--trappy/ftrace.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/trappy/ftrace.py b/trappy/ftrace.py
index 226cd96..2737086 100644
--- a/trappy/ftrace.py
+++ b/trappy/ftrace.py
@@ -216,7 +216,7 @@ subclassed by FTrace (for parsing FTrace coming from trace-cmd) and SysTrace."""
if not self.__class__.disable_cache:
try:
# Recreate basic cache directories only if nothing cached
- if not all([c.cached for c in self.trace_classes]):
+ if not any([c.cached for c in self.trace_classes]):
self._create_trace_cache(params)
# Write out only events that weren't cached before