Cleanup: Remove deprecated symbols following soname major version bump
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 23 Feb 2021 20:40:42 +0000 (15:40 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 24 Feb 2021 15:23:18 +0000 (10:23 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I7a468395c11c1c5dfb83ef4bd16e9c38413415c5

include/lttng/ust-events.h
liblttng-ust/lttng-bytecode.c
liblttng-ust/lttng-context.c
liblttng-ust/lttng-probes.c

index 98513891501306f9bbd9095f64800e4e61bddc2e..9dc5c9e7ff0357c721a6b96596e0dec650ae3b10 100644 (file)
@@ -890,31 +890,6 @@ struct lttng_enum *lttng_ust_enum_get_from_desc(struct lttng_session *session,
 void lttng_ust_dl_update(void *ip);
 void lttng_ust_fixup_fd_tracker_tls(void);
 
-/* For backward compatibility. Leave those exported symbols in place. */
-extern struct lttng_ctx *lttng_static_ctx;
-struct lttng_ust_filter_bytecode_node;
-struct lttng_ust_excluder_node;
-void lttng_context_init(void);
-void lttng_context_exit(void);
-void lttng_filter_event_link_bytecode(struct lttng_event *event);
-struct lttng_enabler *lttng_enabler_create(
-               enum lttng_enabler_format_type format_type,
-               struct lttng_ust_event *event_param,
-               struct lttng_channel *chan);
-int lttng_enabler_enable(struct lttng_enabler *enabler);
-int lttng_enabler_disable(struct lttng_enabler *enabler);
-int lttng_enabler_attach_bytecode(struct lttng_enabler *enabler,
-               struct lttng_ust_filter_bytecode_node *bytecode);
-int lttng_enabler_attach_context(struct lttng_enabler *enabler,
-               struct lttng_ust_context *ctx);
-int lttng_enabler_attach_exclusion(struct lttng_enabler *enabler,
-               struct lttng_ust_excluder_node *excluder);
-void lttng_enabler_event_link_bytecode(struct lttng_event *event,
-               struct lttng_enabler *enabler);
-void lttng_filter_sync_state(struct lttng_bytecode_runtime *runtime);
-int lttng_session_context_init(struct lttng_ctx **ctx);
-
-
 #ifdef __cplusplus
 }
 #endif
index a30dd1825cec23e021ec1590d198d5d889feb990..ca8914ede7251291e5d9343ccb0a5514bb8b812c 100644 (file)
@@ -632,8 +632,3 @@ void lttng_free_event_notifier_filter_runtime(
 {
        free_filter_runtime(&event_notifier->filter_bytecode_runtime_head);
 }
-
-/* For backward compatibility. Leave those exported symbols in place. */
-void lttng_filter_sync_state(struct lttng_bytecode_runtime *runtime)
-{
-}
index fde3607dc512172ff1f7406d36fbfd4aef2cf1ed..e441d4ae2060561a44b9d980ef3e6d73800b1a26 100644 (file)
@@ -509,19 +509,3 @@ error:
        lttng_destroy_context(*ctx);
        return ret;
 }
-
-/* For backward compatibility. Leave those exported symbols in place. */
-struct lttng_ctx *lttng_static_ctx;
-
-void lttng_context_init(void)
-{
-}
-
-void lttng_context_exit(void)
-{
-}
-
-int lttng_session_context_init(struct lttng_ctx **ctx)
-{
-       return 0;
-}
index e328e2c0f34ddf3219ccdae1e680f659d596301e..8fba8adfa376bb90da2d72e68c0037528a05f22f 100644 (file)
@@ -211,12 +211,6 @@ int lttng_probe_register(struct lttng_probe_desc *desc)
        return ret;
 }
 
-/* Backward compatibility with UST 2.0 */
-int ltt_probe_register(struct lttng_probe_desc *desc)
-{
-       return lttng_probe_register(desc);
-}
-
 void lttng_probe_unregister(struct lttng_probe_desc *desc)
 {
        lttng_ust_fixup_tls();
@@ -236,12 +230,6 @@ void lttng_probe_unregister(struct lttng_probe_desc *desc)
        ust_unlock();
 }
 
-/* Backward compatibility with UST 2.0 */
-void ltt_probe_unregister(struct lttng_probe_desc *desc)
-{
-       lttng_probe_unregister(desc);
-}
-
 void lttng_probes_prune_event_list(struct lttng_ust_tracepoint_list *list)
 {
        struct tp_list_entry *list_entry, *tmp;
This page took 0.026537 seconds and 5 git commands to generate.