summaryrefslogtreecommitdiff
path: root/src/mem/abstract_mem.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/abstract_mem.cc')
-rw-r--r--src/mem/abstract_mem.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/abstract_mem.cc b/src/mem/abstract_mem.cc
index b05a99db5..581fc14cc 100644
--- a/src/mem/abstract_mem.cc
+++ b/src/mem/abstract_mem.cc
@@ -289,6 +289,7 @@ AbstractMemory::checkLockedAddrList(PacketPtr pkt)
return allowStore;
}
+#if TRACING_ON
static inline void
tracePacket(System *sys, const char *label, PacketPtr pkt)
{
@@ -308,7 +309,6 @@ tracePacket(System *sys, const char *label, PacketPtr pkt)
DDUMP(MemoryAccess, pkt->getConstPtr<uint8_t>(), pkt->getSize());
}
-#if TRACING_ON
# define TRACE_PACKET(A) tracePacket(system(), A, pkt)
#else
# define TRACE_PACKET(A)