Fix: liblttng-ctl: hide symbols introduced by packing fixes
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 3 Mar 2022 21:43:08 +0000 (16:43 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 3 Mar 2022 23:20:22 +0000 (18:20 -0500)
abidiff reports the following when comparing the ABIs of
liblttng-ctl of v2.13.0 to the stable-2.13 branch.

  12 Added functions:

    [A] 'function ssize_t lttng_event_context_create_from_payload(lttng_payload_view*, lttng_event_context**)'    {lttng_event_context_create_from_payload}
    [A] 'function void lttng_event_context_destroy(lttng_event_context*)'    {lttng_event_context_destroy}
    [A] 'function int lttng_event_context_serialize(lttng_event_context*, lttng_payload*)'    {lttng_event_context_serialize}
    [A] 'function ssize_t lttng_event_create_from_payload(lttng_payload_view*, lttng_event**, lttng_event_exclusion**, char**, lttng_bytecode**)'    {lttng_event_create_from_payload}
    [A] 'function ssize_t lttng_event_field_create_from_payload(lttng_payload_view*, lttng_event_field**)'    {lttng_event_field_create_from_payload}
    [A] 'function int lttng_event_field_serialize(const lttng_event_field*, lttng_payload*)'    {lttng_event_field_serialize}
    [A] 'function lttng_error_code lttng_event_fields_create_and_flatten_from_payload(lttng_payload_view*, unsigned int, lttng_event_field**)'    {lttng_event_fields_create_and_flatten_from_payload}
    [A] 'function int lttng_event_serialize(const lttng_event*, unsigned int, char**, char*, size_t, lttng_bytecode*, lttng_payload*)'    {lttng_event_serialize}
    [A] 'function lttng_error_code lttng_events_create_and_flatten_from_payload(lttng_payload_view*, unsigned int, lttng_event**)'    {lttng_events_create_and_flatten_from_payload}
    [A] 'function lttng_rate_policy_status lttng_rate_policy_every_n_get_interval(const lttng_rate_policy*, uint64_t*)'    {lttng_rate_policy_every_n_get_interval}
    [A] 'function lttng_rate_policy_status lttng_rate_policy_once_after_n_get_threshold(const lttng_rate_policy*, uint64_t*)'    {lttng_rate_policy_once_after_n_get_threshold}
    [A] 'function lttng_session_descriptor_status lttng_session_descriptor_get_session_name(const lttng_session_descriptor*, const char**)'    {lttng_session_descriptor_get_session_name}

The packing fix patch series exposes a number of internal symbols
through liblttng-ctl. Mark those functions as hidden.

Note that the three last functions of this report were correctly
exposed by fixes following the 2.13.0 release.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Idf98f9d22388f945913c801a3da966167e7c3f3f

include/lttng/event-internal.h

index 945cbe567947209614b09195528182297c55a118..5bb0f91065999b277efa7355497da14db0be00c0 100644 (file)
@@ -154,12 +154,14 @@ struct lttng_event_extended {
 LTTNG_HIDDEN
 struct lttng_event *lttng_event_copy(const struct lttng_event *event);
 
+LTTNG_HIDDEN
 ssize_t lttng_event_create_from_payload(struct lttng_payload_view *view,
                struct lttng_event **out_event,
                struct lttng_event_exclusion **out_exclusion,
                char **out_filter_expression,
                struct lttng_bytecode **out_bytecode);
 
+LTTNG_HIDDEN
 int lttng_event_serialize(const struct lttng_event *event,
                unsigned int exclusion_count,
                char **exclusion_list,
@@ -168,27 +170,34 @@ int lttng_event_serialize(const struct lttng_event *event,
                struct lttng_bytecode *bytecode,
                struct lttng_payload *payload);
 
+LTTNG_HIDDEN
 ssize_t lttng_event_context_create_from_payload(
                struct lttng_payload_view *view,
                struct lttng_event_context **event_ctx);
 
+LTTNG_HIDDEN
 int lttng_event_context_serialize(struct lttng_event_context *context,
                struct lttng_payload *payload);
 
+LTTNG_HIDDEN
 void lttng_event_context_destroy(struct lttng_event_context *context);
 
+LTTNG_HIDDEN
 enum lttng_error_code lttng_events_create_and_flatten_from_payload(
                struct lttng_payload_view *view,
                unsigned int count,
                struct lttng_event **events);
 
+LTTNG_HIDDEN
 ssize_t lttng_event_field_create_from_payload(
                struct lttng_payload_view *view,
                struct lttng_event_field **field);
 
+LTTNG_HIDDEN
 int lttng_event_field_serialize(const struct lttng_event_field *field,
                struct lttng_payload *payload);
 
+LTTNG_HIDDEN
 enum lttng_error_code lttng_event_fields_create_and_flatten_from_payload(
                struct lttng_payload_view *view,
                unsigned int count,
This page took 0.026361 seconds and 4 git commands to generate.