summaryrefslogtreecommitdiff
path: root/src/cpu/nativetrace.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/nativetrace.cc')
-rw-r--r--src/cpu/nativetrace.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/nativetrace.cc b/src/cpu/nativetrace.cc
index fe524e245..0db61af2c 100644
--- a/src/cpu/nativetrace.cc
+++ b/src/cpu/nativetrace.cc
@@ -50,7 +50,7 @@ using namespace TheISA;
namespace Trace {
-NativeTrace::NativeTrace(const std::string & _name) : InstTracer(_name)
+NativeTrace::NativeTrace(const Params *p) : InstTracer(p)
{
int port = 8000;
while(!native_listener.listen(port, true))
@@ -187,5 +187,5 @@ Trace::NativeTrace::check(ThreadContext * tc, bool isSyscall)
Trace::NativeTrace *
NativeTraceParams::create()
{
- return new Trace::NativeTrace(name);
+ return new Trace::NativeTrace(this);
};