You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2024/08/02 05:40:22 UTC

(nuttx) 02/04: parsememdump.py:fix bug determine whether it is the memory of the same backtrace

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit bc55750d714ea2b980879e3787deeed34322cb32
Author: anjiahao <an...@xiaomi.com>
AuthorDate: Mon Jan 29 10:49:09 2024 +0800

    parsememdump.py:fix bug determine whether it is the memory of the same backtrace
    
    Signed-off-by: anjiahao <an...@xiaomi.com>
---
 tools/parsememdump.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/parsememdump.py b/tools/parsememdump.py
index 4d666b1fc0..79111bc8ec 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