Commit 3fdb5b32 authored by Ell's avatar Ell

tools: in, preserve threads with empty stacks

... which can be present in logs since last commit.

(cherry picked from commit fb95d3b86ee78e6b409a33a7aa3241690e3e0249)
parent 645e30e6
......@@ -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):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment