switch all profiling stuff to the kernelSymtab since allSymtab
authorNathan Binkert <binkertn@umich.edu>
Sun, 20 Nov 2005 23:33:59 +0000 (18:33 -0500)
committerNathan Binkert <binkertn@umich.edu>
Sun, 20 Nov 2005 23:33:59 +0000 (18:33 -0500)
is going away

--HG--
extra : convert_revision : 405ec55615474d0812ed780f26fd4df98e5ec6f5

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);