Initialize liblttng-ust-common in dependent libraries
authorMichael Jeanson <mjeanson@efficios.com>
Tue, 13 Apr 2021 20:39:18 +0000 (16:39 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 19 Apr 2021 17:31:27 +0000 (13:31 -0400)
liblttng-ust-common is a new public library introduced in this
developement cycle to contain the shared state between liblttng-ust and
our other libs that can't link directly on liblttng-ust. The constructor
of each of these libraries should now call the liblttng-ust-common
constructor early in their own constructors to ensure proper execution
order.

  * Rename library constructors with the _ctor suffix to help
    distinguish them from other _init functions.
  * Hide the fd-tracker init fonction, the liblttng-ust-common ctor
    should be called instead.
  * All libraries linked on 'liblttng-ust-common' call its constructor
    early in theirs.

Change-Id: I8e083f392b4ef2427addd00120cffc61a6314697
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>

No differences found
This page took 0.024239 seconds and 4 git commands to generate.