minidumpserver: fix parsing bug

stack dump add new region `show stacks`, but this script is not support
now this is fixed with adding check condition for all lines contains stack word

Signed-off-by: xinbingnan <xinbingnan@xiaomi.com>
This commit is contained in:
xinbingnan
2023-10-16 17:29:07 +08:00
committed by Xiang Xiao
parent 3166c6d9c6
commit 942081ec6c
+4 -5
View File
@@ -699,11 +699,10 @@ def auto_parse_log_file(logfile):
start = False start = False
for line in f.readlines(): for line in f.readlines():
line = line.strip() line = line.strip()
if ( if len(line) == 0:
"up_dump_register" in line continue
or "dump_stack" in line
or "stack_dump" in line if "up_dump_register" in line or "stack" in line:
):
start = True start = True
else: else:
if start: if start: