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/probes/SConscript | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/mem/probes/SConscript') diff --git a/src/mem/probes/SConscript b/src/mem/probes/SConscript index 7391545fb..78423c5d6 100644 --- a/src/mem/probes/SConscript +++ b/src/mem/probes/SConscript @@ -44,3 +44,8 @@ Source('base.cc') SimObject('StackDistProbe.py') Source('stack_dist.cc') + +# Packet tracing requires protobuf support +if env['HAVE_PROTOBUF']: + SimObject('MemTraceProbe.py') + Source('mem_trace.cc') -- cgit v1.2.3