From: Nathan Binkert Date: Sun, 20 Nov 2005 23:33:59 +0000 (-0500) Subject: switch all profiling stuff to the kernelSymtab since allSymtab X-Git-Tag: m5_2.0_beta1~295 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=64fc410ecba1a1468d85a4d8dc82c0fef667752f;p=gem5.git switch all profiling stuff to the kernelSymtab since allSymtab is going away --HG-- extra : convert_revision : 405ec55615474d0812ed780f26fd4df98e5ec6f5 --- 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);