X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=libust%2Fmarker.h;h=146409c552b8ab6454228f11d8fefffe586982ba;hb=4d65ee62f53c9e3b7c7b56d2067ab347f3ce90aa;hp=5f375b872350443fa4142436a0f234e6c173787f;hpb=48454c953fc1117fbbbe5fc7bc23b6cd28b50d32;p=ust.git diff --git a/libust/marker.h b/libust/marker.h index 5f375b8..146409c 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));\ }