From: Jérémie Galarneau Date: Mon, 2 Mar 2020 22:12:17 +0000 (-0500) Subject: Fix: liblttng-ctl: hide new tracker config symbols X-Git-Tag: v2.13.0-rc1~746 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=72c2e2e17b2f290892664219ceb0e29e9db70fba;p=lttng-tools.git Fix: liblttng-ctl: hide new tracker config symbols Session configuration constants are supposed to remain internal. Some symbols were errneously exported in previous releases, but we mark new ones as "hidden". Signed-off-by: Jérémie Galarneau Change-Id: Iae51c7e479ba9f9e377bb426f35f9e3a73c2d449 --- diff --git a/src/common/config/session-config.c b/src/common/config/session-config.c index 123123ee6..35c5aeef9 100644 --- a/src/common/config/session-config.c +++ b/src/common/config/session-config.c @@ -51,7 +51,7 @@ struct session_config_validation_ctx { xmlSchemaValidCtxtPtr schema_validation_ctx; }; -const char * const config_element_all = "all"; +LTTNG_HIDDEN const char * const config_element_all = "all"; const char * const config_str_yes = "yes"; const char * const config_str_true = "true"; const char * const config_str_on = "on"; @@ -132,25 +132,25 @@ const char * const config_element_control_uri = "control_uri"; const char * const config_element_data_uri = "data_uri"; const char * const config_element_max_size = "max_size"; const char * const config_element_pid = "pid"; -const char * const config_element_id = "id"; +LTTNG_HIDDEN const char * const config_element_id = "id"; const char * const config_element_pids = "pids"; const char * const config_element_shared_memory_path = "shared_memory_path"; const char * const config_element_pid_tracker = "pid_tracker"; -const char * const config_element_vpid_tracker = "vpid_tracker"; -const char * const config_element_uid_tracker = "uid_tracker"; -const char * const config_element_vuid_tracker = "vuid_tracker"; -const char * const config_element_gid_tracker = "gid_tracker"; -const char * const config_element_vgid_tracker = "vgid_tracker"; +LTTNG_HIDDEN const char * const config_element_vpid_tracker = "vpid_tracker"; +LTTNG_HIDDEN const char * const config_element_uid_tracker = "uid_tracker"; +LTTNG_HIDDEN const char * const config_element_vuid_tracker = "vuid_tracker"; +LTTNG_HIDDEN const char * const config_element_gid_tracker = "gid_tracker"; +LTTNG_HIDDEN const char * const config_element_vgid_tracker = "vgid_tracker"; const char * const config_element_trackers = "trackers"; const char * const config_element_targets = "targets"; -const char * const config_element_target_type = "target_type"; +LTTNG_HIDDEN const char * const config_element_target_type = "target_type"; const char * const config_element_target_pid = "pid_target"; -const char * const config_element_target_vpid = "vpid_target"; -const char * const config_element_target_uid = "uid_target"; -const char * const config_element_target_vuid = "vuid_target"; -const char * const config_element_target_gid = "gid_target"; -const char * const config_element_target_vgid = "vgid_target"; -const char * const config_element_tracker_type = "tracker_type"; +LTTNG_HIDDEN const char * const config_element_target_vpid = "vpid_target"; +LTTNG_HIDDEN const char * const config_element_target_uid = "uid_target"; +LTTNG_HIDDEN const char * const config_element_target_vuid = "vuid_target"; +LTTNG_HIDDEN const char * const config_element_target_gid = "gid_target"; +LTTNG_HIDDEN const char * const config_element_target_vgid = "vgid_target"; +LTTNG_HIDDEN const char * const config_element_tracker_type = "tracker_type"; LTTNG_HIDDEN const char * const config_element_rotation_schedules = "rotation_schedules"; LTTNG_HIDDEN const char * const config_element_rotation_schedule_periodic = "periodic";