From: Michael Jeanson Date: Fri, 12 Mar 2021 15:50:00 +0000 (-0500) Subject: Move lttng_ust_dl_update to private ABI X-Git-Tag: v2.13.0-rc1~277 X-Git-Url: http://git.lttng.org/?p=lttng-ust.git;a=commitdiff_plain;h=cbba5e044240cd4e5b90b1a312cb1cd692e027ea Move lttng_ust_dl_update to private ABI This symbol is part of the ABI between liblttng-ust-dl and liblltng-ust and is not part of the public API. Change-Id: Ic2a12568b8e0d78ec3493e644c797df1cf87c63b Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- diff --git a/include/lttng/ust-events.h b/include/lttng/ust-events.h index a13156b8..809c056d 100644 --- a/include/lttng/ust-events.h +++ b/include/lttng/ust-events.h @@ -616,8 +616,6 @@ void lttng_ust_probe_unregister(struct lttng_ust_probe_desc *desc); */ void lttng_ust_context_procname_reset(void); -void lttng_ust_dl_update(void *ip); - #ifdef __cplusplus } #endif diff --git a/liblttng-ust-dl/lttng-ust-dl.c b/liblttng-ust-dl/lttng-ust-dl.c index b2e43b96..7d78f1d0 100644 --- a/liblttng-ust-dl/lttng-ust-dl.c +++ b/liblttng-ust-dl/lttng-ust-dl.c @@ -19,6 +19,8 @@ #include #include "usterr-signal-safe.h" +#include "../liblttng-ust/ust-events-internal.h" + /* Include link.h last else it conflicts with ust-dlfcn. */ #include diff --git a/liblttng-ust/ust-events-internal.h b/liblttng-ust/ust-events-internal.h index 01beb165..51411def 100644 --- a/liblttng-ust/ust-events-internal.h +++ b/liblttng-ust/ust-events-internal.h @@ -599,6 +599,9 @@ void lttng_transport_unregister(struct lttng_transport *transport); /* This is ABI between liblttng-ust and liblttng-ust-ctl */ struct lttng_transport *lttng_ust_transport_find(const char *name); +/* This is ABI between liblttng-ust and liblttng-ust-dl */ +void lttng_ust_dl_update(void *ip); + __attribute__((visibility("hidden"))) void lttng_probe_provider_unregister_events(struct lttng_ust_probe_desc *desc);