misc: Collapse all uses of DTRACE(x) to Debug::x.
Also mark the DTRACE macro as deprecated. Change-Id: I99d9a9544b539117b375186e3e425d73d3c5cab7 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/45009 Tested-by: kokoro <noreply+kokoro@google.com> Maintainer: Gabe Black <gabe.black@gmail.com> Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
This commit is contained in:
@@ -587,7 +587,7 @@ ArmKvmCPU::updateKvmStateCore()
|
||||
setOneReg(ri->id, value);
|
||||
}
|
||||
|
||||
if (DTRACE(KvmContext))
|
||||
if (Debug::KvmContext)
|
||||
dumpKvmStateCore();
|
||||
}
|
||||
|
||||
@@ -625,7 +625,7 @@ ArmKvmCPU::updateKvmStateMisc()
|
||||
}
|
||||
|
||||
warned = true;
|
||||
if (DTRACE(KvmContext))
|
||||
if (Debug::KvmContext)
|
||||
dumpKvmStateMisc();
|
||||
}
|
||||
|
||||
@@ -731,7 +731,7 @@ ArmKvmCPU::updateTCStateCore()
|
||||
pc.set(getOneRegU32(REG_CORE32(usr_regs.ARM_pc)));
|
||||
tc->pcState(pc);
|
||||
|
||||
if (DTRACE(KvmContext))
|
||||
if (Debug::KvmContext)
|
||||
dumpKvmStateCore();
|
||||
}
|
||||
|
||||
@@ -764,7 +764,7 @@ ArmKvmCPU::updateTCStateMisc()
|
||||
|
||||
warned = true;
|
||||
|
||||
if (DTRACE(KvmContext))
|
||||
if (Debug::KvmContext)
|
||||
dumpKvmStateMisc();
|
||||
}
|
||||
|
||||
|
||||
@@ -167,7 +167,7 @@ RiscvProcess::argsInit(int pageSize)
|
||||
memState->setStackMin(memState->getStackMin() - (arg.size() + 1));
|
||||
initVirtMem->writeString(memState->getStackMin(), arg.c_str());
|
||||
argPointers.push_back(memState->getStackMin());
|
||||
if (DTRACE(Stack)) {
|
||||
if (Debug::Stack) {
|
||||
std::string wrote;
|
||||
initVirtMem->readString(wrote, argPointers.back());
|
||||
DPRINTFN("Wrote arg \"%s\" to address %p\n",
|
||||
|
||||
Reference in New Issue
Block a user