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/CommMonitor.py | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/mem/CommMonitor.py') diff --git a/src/mem/CommMonitor.py b/src/mem/CommMonitor.py index ba871357d..aa8da62ed 100644 --- a/src/mem/CommMonitor.py +++ b/src/mem/CommMonitor.py @@ -53,16 +53,6 @@ class CommMonitor(MemObject): master = MasterPort("Master port") slave = SlavePort("Slave port") - # Boolean to enable or disable the trace. Writes to an a file named based on - # SimObject hierarchy. - trace_enable = Param.Bool(False, "Enable trace capture") - - # Boolean to compress the trace or not. - trace_compress = Param.Bool(True, "Enable trace compression") - - # packet trace output file, disabled by default - trace_file = Param.String("", "Packet trace output file") - # control the sample period window length of this monitor sample_period = Param.Clock("1ms", "Sample period for histograms") -- cgit v1.2.3