cpu: differentiate snoop DPRINTF messages for AtomicSimpleCPU
Those three snoop messages were the same, which made interpreting logs harder. Change-Id: Ibff092932bc6d2ef0c5f15bf5f7ce031d1f1956b Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/30694 Reviewed-by: Jason Lowe-Power <power.jg@gmail.com> Maintainer: Jason Lowe-Power <power.jg@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -125,8 +125,8 @@ AtomicSimpleCPU::drain()
|
||||
void
|
||||
AtomicSimpleCPU::threadSnoop(PacketPtr pkt, ThreadID sender)
|
||||
{
|
||||
DPRINTF(SimpleCPU, "received snoop pkt for addr:%#x %s\n", pkt->getAddr(),
|
||||
pkt->cmdString());
|
||||
DPRINTF(SimpleCPU, "%s received snoop pkt for addr:%#x %s\n",
|
||||
__func__, pkt->getAddr(), pkt->cmdString());
|
||||
|
||||
for (ThreadID tid = 0; tid < numThreads; tid++) {
|
||||
if (tid != sender) {
|
||||
@@ -280,8 +280,8 @@ AtomicSimpleCPU::sendPacket(MasterPort &port, const PacketPtr &pkt)
|
||||
Tick
|
||||
AtomicSimpleCPU::AtomicCPUDPort::recvAtomicSnoop(PacketPtr pkt)
|
||||
{
|
||||
DPRINTF(SimpleCPU, "received snoop pkt for addr:%#x %s\n", pkt->getAddr(),
|
||||
pkt->cmdString());
|
||||
DPRINTF(SimpleCPU, "%s received atomic snoop pkt for addr:%#x %s\n",
|
||||
__func__, pkt->getAddr(), pkt->cmdString());
|
||||
|
||||
// X86 ISA: Snooping an invalidation for monitor/mwait
|
||||
AtomicSimpleCPU *cpu = (AtomicSimpleCPU *)(&owner);
|
||||
@@ -310,8 +310,8 @@ AtomicSimpleCPU::AtomicCPUDPort::recvAtomicSnoop(PacketPtr pkt)
|
||||
void
|
||||
AtomicSimpleCPU::AtomicCPUDPort::recvFunctionalSnoop(PacketPtr pkt)
|
||||
{
|
||||
DPRINTF(SimpleCPU, "received snoop pkt for addr:%#x %s\n", pkt->getAddr(),
|
||||
pkt->cmdString());
|
||||
DPRINTF(SimpleCPU, "%s received functional snoop pkt for addr:%#x %s\n",
|
||||
__func__, pkt->getAddr(), pkt->cmdString());
|
||||
|
||||
// X86 ISA: Snooping an invalidation for monitor/mwait
|
||||
AtomicSimpleCPU *cpu = (AtomicSimpleCPU *)(&owner);
|
||||
|
||||
Reference in New Issue
Block a user