From a8fbfefb5e0fd3b45d6961b07a172018c87c0251 Mon Sep 17 00:00:00 2001 From: Uri Wiener Date: Mon, 22 Apr 2013 13:20:33 -0400 Subject: mem: Adding verbose debug output in the memory system This patch provides useful printouts throughut the memory system. This includes pretty-printed cache tags and function call messages (call-stack like). --- src/mem/coherent_bus.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mem/coherent_bus.cc') diff --git a/src/mem/coherent_bus.cc b/src/mem/coherent_bus.cc index 8bc183fd0..5f7153d2f 100644 --- a/src/mem/coherent_bus.cc +++ b/src/mem/coherent_bus.cc @@ -337,6 +337,9 @@ CoherentBus::recvTimingSnoopResp(PacketPtr pkt, PortID slave_port_id) void CoherentBus::forwardTiming(PacketPtr pkt, PortID exclude_slave_port_id) { + DPRINTF(CoherentBus, "%s for %s address %x size %d\n", __func__, + pkt->cmdString(), pkt->getAddr(), pkt->getSize()); + // snoops should only happen if the system isn't bypassing caches assert(!system->bypassCaches()); -- cgit v1.2.3