From a31b66b768eb19e3c0ea061eb7a81f26aa5dccfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 28 Dec 2005 14:47:51 +0000 Subject: [PATCH] Added tracing for calling the init routines. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15694 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/runtime_loader/rldelf.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/system/runtime_loader/rldelf.c b/src/system/runtime_loader/rldelf.c index ff4163aafe..c813396a5c 100644 --- a/src/system/runtime_loader/rldelf.c +++ b/src/system/runtime_loader/rldelf.c @@ -1126,13 +1126,16 @@ init_dependencies(image_t *image, bool initHead) initList[--count] = NULL; } + TRACE(("%ld: init dependencies\n", find_thread(NULL))); for (i = 0; i < count; i++) { addr_t _initf = initList[i]->init_routine; libinit_f *initf = (libinit_f *)(_initf); + TRACE(("%ld: init: %s\n", find_thread(NULL), initList[i]->name)); if (initf) initf(initList[i]->id, gProgramArgs); } + TRACE(("%ld: init done.\n", find_thread(NULL))); rldfree(initList); }