diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2007-07-28 20:30:43 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2007-07-28 20:30:43 -0700 |
commit | 8dd7700482b8ad7fa5e96469b23f0c917f5e3599 (patch) | |
tree | c1e9e7e835a12992eda9f9ee90e4f984816ed059 /src/cpu/o3/fetch_impl.hh | |
parent | cda354b07035f73a3b220f89014721300d36a815 (diff) | |
download | gem5-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/o3/fetch_impl.hh')
-rw-r--r-- | src/cpu/o3/fetch_impl.hh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/cpu/o3/fetch_impl.hh b/src/cpu/o3/fetch_impl.hh index 01e9b5b31..d1c660258 100644 --- a/src/cpu/o3/fetch_impl.hh +++ b/src/cpu/o3/fetch_impl.hh @@ -1156,9 +1156,8 @@ DefaultFetch<Impl>::fetch(bool &status_change) #if TRACING_ON instruction->traceData = - Trace::getInstRecord(curTick, cpu->tcBase(tid), - instruction->staticInst, - instruction->readPC()); + cpu->getTracer()->getInstRecord(curTick, cpu->tcBase(tid), + instruction->staticInst, instruction->readPC()); #else instruction->traceData = NULL; #endif |