Skip to content

Commit 49b31fe

Browse files
authored
Merge pull request #7744 from gmilos/symbolicate-interactively
symbolicate-linux-fatal without too much buffering.
2 parents 732b215 + 7e25466 commit 49b31fe

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

utils/symbolicate-linux-fatal

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,11 @@ def main():
174174
instack = False
175175
stackidx = 0
176176
stack = []
177-
for line in args.log:
177+
178+
while True:
179+
line = args.log.readline()
180+
if not line:
181+
break
178182
if instack and line.startswith(str(stackidx)):
179183
stack.append(line)
180184
stackidx = stackidx + 1

0 commit comments

Comments
 (0)