X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=libust%2Fmarker.h;h=146409c552b8ab6454228f11d8fefffe586982ba;hb=c8b4275ed4a63a4bc374a9f3dc864725882c750e;hp=5f375b872350443fa4142436a0f234e6c173787f;hpb=8fc2d8db78e961acc2ce7fb8f2acea5f58edf408;p=lttng-ust.git diff --git a/libust/marker.h b/libust/marker.h index 5f375b87..146409c5 100644 --- a/libust/marker.h +++ b/libust/marker.h @@ -31,6 +31,7 @@ #include "kernelcompat.h" #include "compiler.h" #include +#include "localerr.h" //ust// struct module; //ust// struct task_struct; @@ -303,6 +304,7 @@ extern struct marker __stop___markers[] __attribute__((visibility("hidden"))); \ static void __attribute__((constructor)) __markers__init(void) \ { \ + DBG("next registration in "__FILE__"\n");\ marker_register_lib(__start___markers, (((long)__stop___markers)-((long)__start___markers))/sizeof(struct marker));\ }