summaryrefslogtreecommitdiff
path: root/src/cpu/base.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/base.cc')
-rw-r--r--src/cpu/base.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cpu/base.cc b/src/cpu/base.cc
index 17c04907a..0fc3b4cea 100644
--- a/src/cpu/base.cc
+++ b/src/cpu/base.cc
@@ -188,6 +188,7 @@ BaseCPU::BaseCPU(Params *p)
if (params->profile)
profileEvent = new ProfileEvent(this, params->profile);
#endif
+ tracer = params->tracer;
}
BaseCPU::Params::Params()
@@ -196,6 +197,7 @@ BaseCPU::Params::Params()
profile = false;
#endif
checker = NULL;
+ tracer = NULL;
}
void