]> git.lttng.org Git - lttng-tools.git/commit
liblttng-ctl: Re-expose several `config_str_*` variables
authorKienan Stewart <kstewart@efficios.com>
Fri, 13 Dec 2024 19:14:21 +0000 (14:14 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 16 Jan 2025 19:20:41 +0000 (19:20 +0000)
commit856f55813bab5793384a09e9d731942cc98374f1
treefd5c98302dd6dad2ea3db61f1e6c8ec2be70c2b6
parent34c47dfa6e2f3269568c1170bac8557ba2b27a64
liblttng-ctl: Re-expose several `config_str_*` variables

Observed issue
==============

The diff of the ABI of liblttng-ctl between lttng-tools 2.13 and
master shows the following removed variables:

```

```
7 Removed variables:

  [D] 'const char* const config_str_false'    {config_str_false}
  [D] 'const char* const config_str_no'    {config_str_no}
  [D] 'const char* const config_str_off'    {config_str_off}
  [D] 'const char* const config_str_on'    {config_str_on}
  [D] 'const char* const config_str_true'    {config_str_true}
  [D] 'const char* const config_str_yes'    {config_str_yes}
  [D] 'log_time error_log_time'    {error_log_time}
```

Cause
=====

The `const_str_*` variables were moved from `session-config.cpp` to
`ini-config.cpp`. Due to license in-compatibility (and probably lack
of immediate need), libini-config was never linked to libconfig-lgpl,
and thus to liblttng-ctl.

Solution
========

Link to libini-config to libconfig.

Known drawbacks
===============

None.

Change-Id: I4fdb15157ca4a7d4ee34dff7d1dcaa44b2e23aef
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/Makefile.am
This page took 0.030333 seconds and 4 git commands to generate.