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)
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)
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)