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(®s, 0, sizeof(RegFile)); if (cpu->params->profile) { - profile = new FunctionProfile(system->allSymtab); + profile = new FunctionProfile(system->kernelSymtab); Callback *cb = new MakeCallback(this); registerExitCallback(cb);