Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I42eb70f5d7a6336d64483af7a5293b882e2f6639
#include <urcu/list.h>
#include <urcu/hlist.h>
+#include <lttng/ust-config.h>
#include <lttng/ust-events.h>
#include "common/macros.h"
}
+/* Custom upgrade 2.12 to 2.13 */
+#ifndef LTTNG_UST_CUSTOM_UPGRADE_CONFLICTING_SYMBOLS
+#define lttng_ust_dl_update lttng_ust_dl_update1
+#endif
/* This is ABI between liblttng-ust and liblttng-ust-dl */
void lttng_ust_dl_update(void *ip);
ust_unlock();
}
-void lttng_ust_dl_update(void *ip)
+static
+void lttng_ust_dl_update_orig(void *ip)
{
struct dl_iterate_data data;
lttng_ust__tracepoints__destroy();
ust_dl_state_destroy();
}
+
+/* Custom upgrade 2.12 to 2.13 */
+#undef lttng_ust_dl_update
+void lttng_ust_dl_update1(void *ip)
+ __attribute__ ((alias ("lttng_ust_dl_update_orig")));
+
+#ifdef LTTNG_UST_CUSTOM_UPGRADE_CONFLICTING_SYMBOLS
+void lttng_ust_dl_update(void *ip)
+ __attribute__ ((alias ("lttng_ust_dl_update_orig")));
+#endif