X-Git-Url: http://git.lttng.org/?p=lttng-ust.git;a=blobdiff_plain;f=include%2Flttng%2Ftracepoint.h;fp=include%2Flttng%2Ftracepoint.h;h=01561d81f4bebe62c7f4df35accb62504baaf681;hp=5bab476b86485a112c98a5ab433fa13ec88cca7d;hb=167ff4df850ed5c954ee374db66a04b1c9a4ef34;hpb=616d3093e1c34557aca7e9f6149338f43cf91886 diff --git a/include/lttng/tracepoint.h b/include/lttng/tracepoint.h index 5bab476b..01561d81 100644 --- a/include/lttng/tracepoint.h +++ b/include/lttng/tracepoint.h @@ -235,19 +235,14 @@ extern struct tracepoint_dlopen tracepoint_dlopen; __attribute__((used, section("__tracepoints_ptrs"))) = \ &__tracepoint_##_provider##___##_name; -/* - * These weak symbols, the constructor, and destructor take care of - * registering only _one_ instance of the tracepoints per shared-ojbect - * (or for the whole main program). - */ extern struct tracepoint * const __start___tracepoints_ptrs[] - __attribute__((weak, visibility("hidden"))); + __attribute__((visibility("hidden"))); extern struct tracepoint * const __stop___tracepoints_ptrs[] - __attribute__((weak, visibility("hidden"))); + __attribute__((visibility("hidden"))); int __tracepoint_registered - __attribute__((weak, visibility("hidden"))); + __attribute__((visibility("hidden"))); struct tracepoint_dlopen tracepoint_dlopen - __attribute__((weak, visibility("hidden"))); + __attribute__((visibility("hidden"))); static void __attribute__((constructor)) __tracepoints__init(void) {