parsememdump.py:fix bug determine whether it is the memory of the same backtrace

Signed-off-by: anjiahao <anjiahao@xiaomi.com>
This commit is contained in:
anjiahao 2024-01-29 10:49:09 +08:00 committed by Xiang Xiao
parent 6f23c8d943
commit bc55750d71

View File

@ -83,7 +83,7 @@ def compare_dump_line(dump_line_list, str):
find = 0
for tmp in dump_line_list:
if tmp.mem is t.mem:
if tmp.mem == t.mem:
find = 1
tmp.cnt += 1
break