mem: Move trace functionality from the CommMonitor to a probe
authorAndreas Sandberg <andreas.sandberg@arm.com>
Tue, 4 Aug 2015 09:29:13 +0000 (10:29 +0100)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Tue, 4 Aug 2015 09:29:13 +0000 (10:29 +0100)
commita3f49f60c74c33ede433a024ae85d1ca47ed3c78
treee25a85dccdffd555d92326aafb930e0cbf755b34
parent022e69e6de513fce2efea8d732e9274624ce3e94
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/CommMonitor.py
src/mem/SConscript
src/mem/comm_monitor.cc
src/mem/comm_monitor.hh
src/mem/probes/MemTraceProbe.py [new file with mode: 0644]
src/mem/probes/SConscript
src/mem/probes/mem_trace.cc [new file with mode: 0644]
src/mem/probes/mem_trace.hh [new file with mode: 0644]
tests/configs/tgen-simple-mem.py