From a3f49f60c74c33ede433a024ae85d1ca47ed3c78 Mon Sep 17 00:00:00 2001 From: Andreas Sandberg Date: Tue, 4 Aug 2015 10:29:13 +0100 Subject: 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. --- src/mem/SConscript | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/mem/SConscript') 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') -- cgit v1.2.3