switch all profiling stuff to the kernelSymtab since allSymtab
is going away --HG-- extra : convert_revision : 405ec55615474d0812ed780f26fd4df98e5ec6f5
This commit is contained in:
parent
b62e7d24ec
commit
64fc410ecb
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ ExecContext::ExecContext(BaseCPU *_cpu, int _thread_num, System *_sys,
|
||||||
memset(®s, 0, sizeof(RegFile));
|
memset(®s, 0, sizeof(RegFile));
|
||||||
|
|
||||||
if (cpu->params->profile) {
|
if (cpu->params->profile) {
|
||||||
profile = new FunctionProfile(system->allSymtab);
|
profile = new FunctionProfile(system->kernelSymtab);
|
||||||
Callback *cb =
|
Callback *cb =
|
||||||
new MakeCallback<ExecContext, &ExecContext::dumpFuncProfile>(this);
|
new MakeCallback<ExecContext, &ExecContext::dumpFuncProfile>(this);
|
||||||
registerExitCallback(cb);
|
registerExitCallback(cb);
|
||||||
|
|
Loading…
Reference in a new issue