From: Simon Marchi Date: Fri, 3 Sep 2021 21:31:29 +0000 (-0400) Subject: bin: compile lttng-consumerd as a C++ X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;ds=sidebyside;h=657d1bf105996bf8f6e13af697fb1112afa61b28;hp=657d1bf105996bf8f6e13af697fb1112afa61b28;p=lttng-tools.git 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 Signed-off-by: Jérémie Galarneau ---