summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2005-11-20 18:33:59 -0500
committerNathan Binkert <binkertn@umich.edu>2005-11-20 18:33:59 -0500
commit64fc410ecba1a1468d85a4d8dc82c0fef667752f (patch)
tree3a96e5312beefa32932131fe80b07a837828d25b
parentb62e7d24ec82fd3f27783bc13fb223f64ed0c1c9 (diff)
downloadgem5-64fc410ecba1a1468d85a4d8dc82c0fef667752f.tar.xz
switch all profiling stuff to the kernelSymtab since allSymtab
is going away --HG-- extra : convert_revision : 405ec55615474d0812ed780f26fd4df98e5ec6f5
-rw-r--r--cpu/exec_context.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/exec_context.cc b/cpu/exec_context.cc
index 3fe951387..9bed3ba47 100644
--- a/cpu/exec_context.cc
+++ b/cpu/exec_context.cc
@@ -63,7 +63,7 @@ ExecContext::ExecContext(BaseCPU *_cpu, int _thread_num, System *_sys,
memset(&regs, 0, sizeof(RegFile));
if (cpu->params->profile) {
- profile = new FunctionProfile(system->allSymtab);
+ profile = new FunctionProfile(system->kernelSymtab);
Callback *cb =
new MakeCallback<ExecContext, &ExecContext::dumpFuncProfile>(this);
registerExitCallback(cb);