summaryrefslogtreecommitdiff
path: root/src/cpu/o3
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/o3')
-rw-r--r--src/cpu/o3/probe/elastic_trace.cc2
-rw-r--r--src/cpu/o3/probe/elastic_trace.hh3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/cpu/o3/probe/elastic_trace.cc b/src/cpu/o3/probe/elastic_trace.cc
index bf6b6f002..c97bf7877 100644
--- a/src/cpu/o3/probe/elastic_trace.cc
+++ b/src/cpu/o3/probe/elastic_trace.cc
@@ -50,7 +50,7 @@
ElasticTrace::ElasticTrace(const ElasticTraceParams* params)
: ProbeListenerObject(params),
- regEtraceListenersEvent(this),
+ regEtraceListenersEvent([this]{ regEtraceListeners(); }, name()),
firstWin(true),
lastClearedSeqNum(0),
depWindowSize(params->depWindowSize),
diff --git a/src/cpu/o3/probe/elastic_trace.hh b/src/cpu/o3/probe/elastic_trace.hh
index 584cdf182..08e02daef 100644
--- a/src/cpu/o3/probe/elastic_trace.hh
+++ b/src/cpu/o3/probe/elastic_trace.hh
@@ -182,8 +182,7 @@ class ElasticTrace : public ProbeListenerObject
void regStats();
/** Event to trigger registering this listener for all probe points. */
- EventWrapper<ElasticTrace,
- &ElasticTrace::regEtraceListeners> regEtraceListenersEvent;
+ EventFunctionWrapper regEtraceListenersEvent;
private:
/**