MemMMap: log mmap calls
authorJacob Lifshay <programmerjake@gmail.com>
Sun, 3 Dec 2023 07:50:57 +0000 (23:50 -0800)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 13 Dec 2023 09:34:40 +0000 (09:34 +0000)
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