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:
Axel Dörfler
2005-12-28 14:47:51 +00:00
parent 5e796c3bb3
commit a31b66b768
+3
View File
@@ -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);
} }