summaryrefslogtreecommitdiff
path: root/src/mem/SConscript
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas.sandberg@arm.com>2015-08-04 10:29:13 +0100
committerAndreas Sandberg <andreas.sandberg@arm.com>2015-08-04 10:29:13 +0100
commita3f49f60c74c33ede433a024ae85d1ca47ed3c78 (patch)
treee25a85dccdffd555d92326aafb930e0cbf755b34 /src/mem/SConscript
parent022e69e6de513fce2efea8d732e9274624ce3e94 (diff)
downloadgem5-a3f49f60c74c33ede433a024ae85d1ca47ed3c78.tar.xz
mem: Move trace functionality from the CommMonitor to a probe
This changeset moves the access trace functionality from the CommMonitor into a separate probe. The probe can be hooked up to any component that exports probe points of the type ProbePoints::Packet. This patch moves the dependency on Google's Protocol Buffers library from the CommMonitor to the MemTraceProbe, which means that the CommMonitor (including stack distance profiling) no long depends on it.
Diffstat (limited to 'src/mem/SConscript')
-rw-r--r--src/mem/SConscript7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mem/SConscript b/src/mem/SConscript
index 4f1216745..404f4a90f 100644
--- a/src/mem/SConscript
+++ b/src/mem/SConscript
@@ -30,11 +30,8 @@
Import('*')
-# Only build the communication if we have support for protobuf as the
-# tracing relies on it
-if env['HAVE_PROTOBUF']:
- SimObject('CommMonitor.py')
- Source('comm_monitor.cc')
+SimObject('CommMonitor.py')
+Source('comm_monitor.cc')
SimObject('AbstractMemory.py')
SimObject('AddrMapper.py')