tools: in performance-log-expand.py, preserve threads with empty stacks
... which can be present in logs since last commit.
(cherry picked from commit fb95d3b86e)
This commit is contained in:
parent
645e30e641
commit
3fdb5b32f7
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue