diff options
-rw-r--r-- | trappy/ftrace.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/trappy/ftrace.py b/trappy/ftrace.py index 07e01c7..4bd0ae0 100644 --- a/trappy/ftrace.py +++ b/trappy/ftrace.py @@ -215,8 +215,7 @@ subclassed by FTrace (for parsing FTrace coming from trace-cmd) and SysTrace.""" return # Remove empty arrays from the trace - if "={}" in data_str: - data_str = re.sub(r"[A-Za-z0-9_]+=\{\} ", r"", data_str) + data_str = re.sub(r"[A-Za-z0-9_]+=\{\} ", r"", data_str) trace_class.append_data(timestamp, comm, pid, cpu, self.lines, data_str) self.lines += 1 |