diff --git a/tools/performance-log-expand.py b/tools/performance-log-expand.py index 36fc1b6c8e..bc04d83a53 100755 --- a/tools/performance-log-expand.py +++ b/tools/performance-log-expand.py @@ -84,7 +84,7 @@ for sample in (log.find ("samples") or empty_element).iterfind ("sample"): last_thread[0] = attrib last_thread[1] = frames - if not frames: + if not frames and thread.text is None: del last_backtrace[id] for thread in list (backtrace):