Added tracing for calling the init routines.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15694 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1126,13 +1126,16 @@ init_dependencies(image_t *image, bool initHead)
|
|||||||
initList[--count] = NULL;
|
initList[--count] = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TRACE(("%ld: init dependencies\n", find_thread(NULL)));
|
||||||
for (i = 0; i < count; i++) {
|
for (i = 0; i < count; i++) {
|
||||||
addr_t _initf = initList[i]->init_routine;
|
addr_t _initf = initList[i]->init_routine;
|
||||||
libinit_f *initf = (libinit_f *)(_initf);
|
libinit_f *initf = (libinit_f *)(_initf);
|
||||||
|
|
||||||
|
TRACE(("%ld: init: %s\n", find_thread(NULL), initList[i]->name));
|
||||||
if (initf)
|
if (initf)
|
||||||
initf(initList[i]->id, gProgramArgs);
|
initf(initList[i]->id, gProgramArgs);
|
||||||
}
|
}
|
||||||
|
TRACE(("%ld: init done.\n", find_thread(NULL)));
|
||||||
|
|
||||||
rldfree(initList);
|
rldfree(initList);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user