diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2011-11-01 04:01:14 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2011-11-01 04:01:14 -0700 |
commit | b6da5e2086b864149d65519333910d41351d4117 (patch) | |
tree | cd0997ce638eb87661c3ff5456d27259fb9a11a7 /src/cpu/simple/base.cc | |
parent | 1268e0df1f3d16d804b31005acf8067415771518 (diff) | |
download | gem5-b6da5e2086b864149d65519333910d41351d4117.tar.xz |
SE/FS: Get rid of uses of FULL_SYSTEM in Alpha.
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 d0e15eee9..e4940a55f 100644 --- a/src/cpu/simple/base.cc +++ b/src/cpu/simple/base.cc @@ -412,7 +412,7 @@ BaseSimpleCPU::postExecute() TheISA::PCState pc = tc->pcState(); Addr instAddr = pc.instAddr(); - if (thread->profile) { + if (FullSystem && thread->profile) { bool usermode = TheISA::inUserMode(tc); thread->profilePC = usermode ? 1 : instAddr; ProfileNode *node = thread->profile->consume(tc, curStaticInst); @@ -466,7 +466,8 @@ BaseSimpleCPU::postExecute() } /* End power model statistics */ - traceFunctions(instAddr); + if (FullSystem) + traceFunctions(instAddr); if (traceData) { traceData->dump(); |