From bc55750d714ea2b980879e3787deeed34322cb32 Mon Sep 17 00:00:00 2001 From: anjiahao Date: Mon, 29 Jan 2024 10:49:09 +0800 Subject: [PATCH] parsememdump.py:fix bug determine whether it is the memory of the same backtrace Signed-off-by: anjiahao --- tools/parsememdump.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/parsememdump.py b/tools/parsememdump.py index 4d666b1fc06..79111bc8ec7 100755 --- a/tools/parsememdump.py +++ b/tools/parsememdump.py @@ -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