示例#1
0
 def setup_vamos_ram_trace(self):
     mem = self.machine.get_mem()
     self.mem_tracer = TraceMemory(mem, self)
     if not log_mem_int.isEnabledFor(logging.INFO):
         log_mem_int.setLevel(logging.INFO)
     # replace machine mem with trace memory
     self.machine.set_mem(self.mem_tracer)
示例#2
0
 def setup_vamos_ram_trace(self):
   mem = self.machine.get_mem()
   self.mem_tracer = TraceMemory(mem, self)
   if not log_mem_int.isEnabledFor(logging.INFO):
     log_mem_int.setLevel(logging.INFO)
示例#3
0
文件: mgr.py 项目: Zalewa/amitools
 def setup_cpu_mem_trace(self):
   self.machine.set_cpu_mem_trace_hook(self.trace_cpu_mem)
   if not log_mem_int.isEnabledFor(logging.INFO):
     log_mem_int.setLevel(logging.INFO)