Internal logging lazy-initialization
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 14 Apr 2021 17:39:03 +0000 (13:39 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 19 Apr 2021 17:31:10 +0000 (13:31 -0400)
commit39313bf35301f186b2517e05e0bda38e138e868c
tree7e23b84280ab701a4452bf42d6bf879f173ed877
parent042dbbc86aaf0d25b4922ecf268f406d31cd8986
Internal logging lazy-initialization

Replace the initialization function by a lazy-init scheme, this way we
don't loose logging messages when called from constructors across
libraries or ld preloaded wrappers.

Change-Id: Idb1593c025351af6aed152b31a2aab17b4d884b0
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
src/common/logging.c
src/common/logging.h
src/lib/lttng-ust-common/ust-common.c
src/lib/lttng-ust-ctl/ustctl.c
src/lib/lttng-ust-dl/lttng-ust-dl.c
src/lib/lttng-ust/lttng-ust-comm.c
This page took 0.025467 seconds and 4 git commands to generate.