mem-ruby: Consistent dprintf formats for issue outcomes
authorBrad Beckmann <brad.beckmann@amd.com>
Thu, 3 May 2018 18:01:02 +0000 (14:01 -0400)
committerAnthony Gutierrez <anthony.gutierrez@amd.com>
Thu, 3 May 2018 18:04:43 +0000 (18:04 +0000)
Change-Id: I053fc42f0d5f678f8e3434b53a0f09e00fc3e345
Reviewed-on: https://gem5-review.googlesource.com/10221
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>

src/mem/ruby/system/RubyPort.cc

index 5977ce9efc8ca548f59d037ddc0b443224f5ad1c..02d23790a5436298a00e103d221a792274015ec9 100644 (file)
@@ -299,15 +299,16 @@ RubyPort::MemSlavePort::recvTimingReq(PacketPtr pkt)
         // route the response
         pkt->pushSenderState(new SenderState(this));
 
-        DPRINTF(RubyPort, "Request %s 0x%x issued\n", pkt->cmdString(),
+        DPRINTF(RubyPort, "Request %s address %#x issued\n", pkt->cmdString(),
                 pkt->getAddr());
         return true;
     }
 
     if (pkt->cmd != MemCmd::MemFenceReq) {
         DPRINTF(RubyPort,
-                "Request for address %#x did not issued because %s\n",
-                pkt->getAddr(), RequestStatus_to_string(requestStatus));
+                "Request %s for address %#x did not issue because %s\n",
+                pkt->cmdString(), pkt->getAddr(),
+                RequestStatus_to_string(requestStatus));
     }
 
     addToRetryList();