]> git.lttng.org Git - lttng-tools.git/commitdiff
session-config: Move deprecated symbol
authorKienan Stewart <kstewart@efficios.com>
Mon, 16 Dec 2024 14:23:40 +0000 (09:23 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 16 Jan 2025 19:20:55 +0000 (19:20 +0000)
This move element an ABI warning about `config_element_perf` being
removed.

```
9 Removed variables:

  [D] 'const char* const config_element_perf'    {config_element_perf}
...
```

Change-Id: I0bee12f610559edfa0718e5a7d90d06cf0c8f101
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/config/session-config.cpp
src/lib/lttng-ctl/deprecated-symbols.cpp

index df33caa6234e6d0687a5bb6e4f3dfe36250d9072..719c2e876224ea1042bcd56640610ed4a11632d6 100644 (file)
@@ -239,9 +239,6 @@ const char *const config_event_context_vgid = "VGID";
 const char *const config_event_context_vegid = "VEGID";
 const char *const config_event_context_vsgid = "VSGID";
 
-/* Deprecated symbols */
-LTTNG_EXPORT extern const char *const config_element_perf;
-
 enum process_event_node_phase {
        CREATION = 0,
        ENABLE = 1,
index 0283a7c4ec182c93dbde31c81cd8b8a268c2d189..6979f236a4c9355cb1ddccb8b4b502e1592c3ac5 100644 (file)
@@ -23,11 +23,13 @@ LTTNG_EXPORT size_t default_ust_uid_channel_subbuf_size;
 extern "C" {
 #endif
 
+LTTNG_EXPORT extern const char *const config_element_perf;
 LTTNG_EXPORT extern const char *const config_element_pid_tracker;
 LTTNG_EXPORT extern const char *const config_element_target_pid;
 LTTNG_EXPORT extern const char *const config_element_targets;
 LTTNG_EXPORT extern const char *const config_element_trackers;
 
+const char *const config_element_perf = nullptr;
 const char *const config_element_pid_tracker = nullptr;
 const char *const config_element_target_pid = nullptr;
 const char *const config_element_targets = nullptr;
This page took 0.031225 seconds and 4 git commands to generate.