Tracepoints: fix use of __ptrs
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Thu, 17 Feb 2011 19:55:41 +0000 (14:55 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Thu, 17 Feb 2011 19:55:41 +0000 (14:55 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/ust/tracepoint.h

index 2f89c1566c419bb3f85b61e55189e715768347b4..2d6f7abbdccd492b152b476747211da85e70c23a 100644 (file)
@@ -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);          \
        }
 
 
This page took 0.024647 seconds and 4 git commands to generate.