summaryrefslogtreecommitdiff
path: root/cpu/exec_context.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/exec_context.cc')
-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);