diff options
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/nativetrace.cc | 4 | ||||
-rw-r--r-- | src/cpu/nativetrace.hh | 2 |
2 files changed, 3 insertions, 3 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); }; diff --git a/src/cpu/nativetrace.hh b/src/cpu/nativetrace.hh index 126077581..6fd624211 100644 --- a/src/cpu/nativetrace.hh +++ b/src/cpu/nativetrace.hh @@ -171,7 +171,7 @@ class NativeTrace : public InstTracer bool checkR11Reg(const char * regName, uint64_t &, uint64_t &); - NativeTrace(const std::string & name); + NativeTrace(const Params *p); NativeTraceRecord * getInstRecord(Tick when, ThreadContext *tc, |