X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=libust%2Fmarker.h;h=5fe50a9f4d2e32891c154a8e9b57c153a63b504e;hb=5a34ea972e006cd339fbcc92c00b3d978d424970;hp=5f375b872350443fa4142436a0f234e6c173787f;hpb=8fc2d8db78e961acc2ce7fb8f2acea5f58edf408;p=ust.git diff --git a/libust/marker.h b/libust/marker.h index 5f375b8..5fe50a9 100644 --- a/libust/marker.h +++ b/libust/marker.h @@ -29,8 +29,8 @@ #include "immediate.h" //ust// #include #include "kernelcompat.h" -#include "compiler.h" #include +#include "localerr.h" //ust// struct module; //ust// struct task_struct; @@ -303,11 +303,11 @@ 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));\ } -void marker_set_new_marker_cb(void (*cb)(struct marker *)); - -void init_markers(void); +extern void marker_set_new_marker_cb(void (*cb)(struct marker *)); +extern void init_markers(void); #endif