These are ABI symbols of liblttng-ust-tracepoint, namespace them under
'lttng_ust_tp_'.
Change-Id: Ic9fe173cd475179444a2a680e2e3eaba6622cbef
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
*/
ust_err_init();
lttng_ust_getenv_init(); /* Needs ust_err_init() to be completed. */
- init_tracepoint();
+ lttng_ust_tp_init();
lttng_ust_init_fd_tracker();
lttng_ust_clock_init();
lttng_ust_getcpu_init();
lttng_counter_client_percpu_32_modular_exit();
lttng_counter_client_percpu_64_modular_exit();
lttng_ust_statedump_destroy();
- exit_tracepoint();
+ lttng_ust_tp_exit();
if (!exiting) {
/* Reinitialize values for fork */
sem_count = sem_count_initial_value;
void (*func)(void), void *data);
extern void __tracepoint_probe_prune_release_queue(void);
-extern void init_tracepoint(void);
-extern void exit_tracepoint(void);
+void lttng_ust_tp_init(void);
+void lttng_ust_tp_exit(void);
void *lttng_ust_tp_check_weak_hidden1(void);
void *lttng_ust_tp_check_weak_hidden2(void);
{
struct tracepoint_lib *pl, *iter;
- init_tracepoint();
+ lttng_ust_tp_init();
pl = (struct tracepoint_lib *) zmalloc(sizeof(struct tracepoint_lib));
if (!pl) {
"DIFFERENT addresses");
}
-void init_tracepoint(void)
+void lttng_ust_tp_init(void)
{
if (uatomic_xchg(&initialized, 1) == 1)
return;
check_weak_hidden();
}
-void exit_tracepoint(void)
+void lttng_ust_tp_exit(void)
{
initialized = 0;
}