diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-01-06 22:34:18 -0800 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-01-06 22:34:18 -0800 |
commit | b0ab5c894d84d4522cae3a254158e47ba112909c (patch) | |
tree | 6b4992716c89628ae0860e12d0567b61e4280160 /src/cpu/simple/base.cc | |
parent | 2adc60795b0e21d46f983293b3b71b48ee105c14 (diff) | |
download | gem5-b0ab5c894d84d4522cae3a254158e47ba112909c.tar.xz |
Tracing: Make tracing aware of macro and micro ops.
Diffstat (limited to 'src/cpu/simple/base.cc')
-rw-r--r-- | src/cpu/simple/base.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cpu/simple/base.cc b/src/cpu/simple/base.cc index b3379cddb..3c154afb6 100644 --- a/src/cpu/simple/base.cc +++ b/src/cpu/simple/base.cc @@ -418,8 +418,9 @@ BaseSimpleCPU::preExecute() if(curStaticInst) { #if TRACING_ON - traceData = tracer->getInstRecord(curTick, tc, curStaticInst, - thread->readPC()); + traceData = tracer->getInstRecord(curTick, tc, + curStaticInst, thread->readPC(), + curMacroStaticInst, thread->readMicroPC()); DPRINTF(Decode,"Decode: Decoded %s instruction: 0x%x\n", curStaticInst->getName(), curStaticInst->machInst); |