Fix the system clock at 1THz making 1 simulation tick = 1 ps
[gem5.git] / cpu / exec_context.cc
index 3fe9513873754c810ca863e53fdce96c0de438eb..9bed3ba471be7662f650fb5421323e1eed6eab91 100644 (file)
@@ -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);