summaryrefslogtreecommitdiff
path: root/src/cpu/base.cc
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-07-28 20:30:43 -0700
committerGabe Black <gblack@eecs.umich.edu>2007-07-28 20:30:43 -0700
commit8dd7700482b8ad7fa5e96469b23f0c917f5e3599 (patch)
treec1e9e7e835a12992eda9f9ee90e4f984816ed059 /src/cpu/base.cc
parentcda354b07035f73a3b220f89014721300d36a815 (diff)
downloadgem5-8dd7700482b8ad7fa5e96469b23f0c917f5e3599.tar.xz
Turn the instruction tracing code into pluggable sim objects.
These need to be refined a little still and given parameters. --HG-- extra : convert_revision : 9a8f5a7bd9dacbebbbd2c235cd890c49a81040d7
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