X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Fust%2Ftracepoint.h;fp=include%2Fust%2Ftracepoint.h;h=2d6f7abbdccd492b152b476747211da85e70c23a;hb=103fffbc740f24681dfb5d9c7bb78b44f285036d;hp=2f89c1566c419bb3f85b61e55189e715768347b4;hpb=bf5fe926fa64722edcc3efa14a4683e3bb9c2673;p=ust.git diff --git a/include/ust/tracepoint.h b/include/ust/tracepoint.h index 2f89c15..2d6f7ab 100644 --- a/include/ust/tracepoint.h +++ b/include/ust/tracepoint.h @@ -224,14 +224,14 @@ extern int tracepoint_unregister_lib(struct tracepoint * const *tracepoints_star extern struct tracepoint * const __stop___tracepoints_ptrs[] __attribute__((weak, visibility("hidden"))); \ static void __attribute__((constructor)) __tracepoints__init(void) \ { \ - tracepoint_register_lib(__start___tracepoints, \ - __stop___tracepoints - \ - __start___tracepoints); \ + tracepoint_register_lib(__start___tracepoints_ptrs, \ + __stop___tracepoints_ptrs - \ + __start___tracepoints_ptrs); \ } \ \ static void __attribute__((destructor)) __tracepoints__destroy(void) \ { \ - tracepoint_unregister_lib(__start___tracepoints); \ + tracepoint_unregister_lib(__start___tracepoints_ptrs); \ }