Tracepoint API namespacing '__lttng_ust_events_exit'
authorMichael Jeanson <mjeanson@efficios.com>
Tue, 20 Apr 2021 21:15:16 +0000 (17:15 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 22 Apr 2021 15:01:18 +0000 (11:01 -0400)
The ABI bump gives us the opportunity to namespace all public symbols
under the 'lttng_ust_' prefix. Namespace all API symbols and macros
under 'lttng_ust_' / 'LTTNG_UST_' and add compat macros to keep
compatibility with the previous API.

Change-Id: I150273940c94f4b0c86b87adcad724befd480158
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/lttng/ust-tracepoint-event.h
src/lib/lttng-ust/lttng-ust-statedump.c

index 06f06749d9c61bd974aa605a6509891d87ce5ae4..10b47b2cb73dc4ea3c14b124d502bf7886f68eff 100644 (file)
@@ -1152,10 +1152,10 @@ LTTNG_UST__TP_COMBINE_TOKENS(lttng_ust__events_init__, LTTNG_UST_TRACEPOINT_PROV
 }
 
 static void
-LTTNG_UST__TP_COMBINE_TOKENS(__lttng_ust_events_exit__, LTTNG_UST_TRACEPOINT_PROVIDER)(void)
+LTTNG_UST__TP_COMBINE_TOKENS(lttng_ust__events_exit__, LTTNG_UST_TRACEPOINT_PROVIDER)(void)
        lttng_ust_notrace __attribute__((destructor));
 static void
-LTTNG_UST__TP_COMBINE_TOKENS(__lttng_ust_events_exit__, LTTNG_UST_TRACEPOINT_PROVIDER)(void)
+LTTNG_UST__TP_COMBINE_TOKENS(lttng_ust__events_exit__, LTTNG_UST_TRACEPOINT_PROVIDER)(void)
 {
        if (--LTTNG_UST__TP_COMBINE_TOKENS(lttng_ust__probe_register_refcount___,
                        LTTNG_UST_TRACEPOINT_PROVIDER)) {
index 08f86d92be3470a08a87e97a00a1448fff638e9f..6d166cf08cf02e0f592ec5d6ab9f6ea6081bc2cf 100644 (file)
@@ -652,7 +652,7 @@ void ust_dl_state_destroy(void)
 
 void lttng_ust_statedump_destroy(void)
 {
-       __lttng_ust_events_exit__lttng_ust_statedump();
+       lttng_ust__events_exit__lttng_ust_statedump();
        lttng_ust__tracepoints__ptrs_destroy();
        lttng_ust__tracepoints__destroy();
        ust_dl_state_destroy();
This page took 0.026081 seconds and 4 git commands to generate.