From: Michael Jeanson Date: Thu, 17 Dec 2020 20:59:44 +0000 (-0500) Subject: Move and hide new 'lttng_ust_counter_create' private symbol X-Git-Tag: v2.13.0-rc1~370 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=67d4e8f5512220b8a33a058b7133fce7595c4fa2;p=lttng-ust.git Move and hide new 'lttng_ust_counter_create' private symbol Change-Id: I8306d4990243c2d5d098e164202c4f0a6fac7abf 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 c96307a3..c77b39c7 100644 --- a/include/lttng/ust-events.h +++ b/include/lttng/ust-events.h @@ -746,10 +746,6 @@ int lttng_attach_context(struct lttng_ust_context *context_param, void lttng_transport_register(struct lttng_transport *transport); void lttng_transport_unregister(struct lttng_transport *transport); -struct lttng_counter *lttng_ust_counter_create( - const char *counter_transport_name, - size_t number_dimensions, const struct lttng_counter_dimension *dimensions); - int lttng_probe_register(struct lttng_probe_desc *desc); void lttng_probe_unregister(struct lttng_probe_desc *desc); void lttng_probe_provider_unregister_events(struct lttng_probe_desc *desc); diff --git a/liblttng-ust/ust-events-internal.h b/liblttng-ust/ust-events-internal.h index e1141add..1d8e914a 100644 --- a/liblttng-ust/ust-events-internal.h +++ b/liblttng-ust/ust-events-internal.h @@ -255,4 +255,9 @@ void lttng_free_event_notifier_filter_runtime( LTTNG_HIDDEN int lttng_fix_pending_event_notifiers(void); +LTTNG_HIDDEN +struct lttng_counter *lttng_ust_counter_create( + const char *counter_transport_name, + size_t number_dimensions, const struct lttng_counter_dimension *dimensions); + #endif /* _LTTNG_UST_EVENTS_INTERNAL_H */