bin: compile lttng-consumerd as a C++
authorSimon Marchi <simon.marchi@efficios.com>
Fri, 3 Sep 2021 21:31:29 +0000 (17:31 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 17 Nov 2021 23:30:00 +0000 (18:30 -0500)
commit657d1bf105996bf8f6e13af697fb1112afa61b28
tree128909b8083ca4d3c7eb73332399a639aa76d167
parentaa4e4813f3410c866cf8dbc42f6eaa038d704a22
bin: compile lttng-consumerd as a C++

Same as the previous commits, but change lttng-consumerd to be a C++
program.

Function lttng_consumer_get_type is dlsym-ed by
tests/regression/tools/notification/consumer_testpoints.c, so we have
two choices: make the dlsym use the mangled name or make the function
have a C linkage name. The latter is better, because the mangled name
is implementation-defined, and therefore more fragile.

Change-Id: I1986e38c193a935721e52c89426c89fd434ccd6b
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-consumerd/Makefile.am
src/bin/lttng-consumerd/health-consumerd.c [deleted file]
src/bin/lttng-consumerd/health-consumerd.cpp [new file with mode: 0644]
src/bin/lttng-consumerd/lttng-consumerd.c [deleted file]
src/bin/lttng-consumerd/lttng-consumerd.cpp [new file with mode: 0644]
src/bin/lttng-consumerd/lttng-consumerd.h
src/common/consumer/consumer-timer.h
src/common/consumer/consumer.h
This page took 0.026379 seconds and 4 git commands to generate.