MemMMap: log mmap calls
authorJacob Lifshay <programmerjake@gmail.com>
Sun, 3 Dec 2023 07:50:57 +0000 (23:50 -0800)
committerJacob Lifshay <programmerjake@gmail.com>
Wed, 13 Dec 2023 00:59:12 +0000 (16:59 -0800)
src/openpower/decoder/isa/mem.py

index 1480350850be6a588f9c83444029799d326e4780..2b3ec844436230e3fb285ba83396ab378afacf69 100644 (file)
@@ -931,6 +931,7 @@ class MemMMap(MemCommon):
             # memory could be non-zero, mark as modified
             for page_idx in block.page_indexes:
                 self.modified_pages.add(page_idx)
+        log("mmap block=%s" % (block,), kind=LogType.InstrInOuts)
         return block.addrs.start
 
     @staticmethod