bin: compile lttng-relayd 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:29:08 +0000 (18:29 -0500)
commitac497a37018f3c253d2e50397294f58d33f7f24f
tree06ab41e79fcd30c003f924f6944c8b64729f4544
parent7966af5763c4aaca39df9bbfa9277ff15715c720
bin: compile lttng-relayd as a C++

Same as the previous commit, but change lttng-relayd to be a C++
program.  In addition to what was mentioned in previous commits:

 - Test test_relayd_backward_compat_group_by_session uses an object file
   from the relayd binary, so it's simpler to change this test to be C++
   as well.

 - There are some declarations related to fs_handle in fd-tracker.h.
   Remove them, as they are already in fs-handle.h.

Change-Id: I72c5fdecd2e82c30633563a47bd641af1dcfa29c
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
50 files changed:
src/bin/lttng-relayd/Makefile.am
src/bin/lttng-relayd/backward-compatibility-group-by.c [deleted file]
src/bin/lttng-relayd/backward-compatibility-group-by.cpp [new file with mode: 0644]
src/bin/lttng-relayd/cmd-2-1.c [deleted file]
src/bin/lttng-relayd/cmd-2-1.cpp [new file with mode: 0644]
src/bin/lttng-relayd/cmd-2-11.c [deleted file]
src/bin/lttng-relayd/cmd-2-11.cpp [new file with mode: 0644]
src/bin/lttng-relayd/cmd-2-2.c [deleted file]
src/bin/lttng-relayd/cmd-2-2.cpp [new file with mode: 0644]
src/bin/lttng-relayd/cmd-2-4.c [deleted file]
src/bin/lttng-relayd/cmd-2-4.cpp [new file with mode: 0644]
src/bin/lttng-relayd/connection.c [deleted file]
src/bin/lttng-relayd/connection.cpp [new file with mode: 0644]
src/bin/lttng-relayd/ctf-trace.c [deleted file]
src/bin/lttng-relayd/ctf-trace.cpp [new file with mode: 0644]
src/bin/lttng-relayd/health-relayd.c [deleted file]
src/bin/lttng-relayd/health-relayd.cpp [new file with mode: 0644]
src/bin/lttng-relayd/index.c [deleted file]
src/bin/lttng-relayd/index.cpp [new file with mode: 0644]
src/bin/lttng-relayd/live.c [deleted file]
src/bin/lttng-relayd/live.cpp [new file with mode: 0644]
src/bin/lttng-relayd/main.c [deleted file]
src/bin/lttng-relayd/main.cpp [new file with mode: 0644]
src/bin/lttng-relayd/session.c [deleted file]
src/bin/lttng-relayd/session.cpp [new file with mode: 0644]
src/bin/lttng-relayd/sessiond-trace-chunks.c [deleted file]
src/bin/lttng-relayd/sessiond-trace-chunks.cpp [new file with mode: 0644]
src/bin/lttng-relayd/stream.c [deleted file]
src/bin/lttng-relayd/stream.cpp [new file with mode: 0644]
src/bin/lttng-relayd/tcp_keep_alive.c [deleted file]
src/bin/lttng-relayd/tcp_keep_alive.cpp [new file with mode: 0644]
src/bin/lttng-relayd/tracefile-array.c [deleted file]
src/bin/lttng-relayd/tracefile-array.cpp [new file with mode: 0644]
src/bin/lttng-relayd/utils.c [deleted file]
src/bin/lttng-relayd/utils.cpp [new file with mode: 0644]
src/bin/lttng-relayd/viewer-session.c [deleted file]
src/bin/lttng-relayd/viewer-session.cpp [new file with mode: 0644]
src/bin/lttng-relayd/viewer-session.h
src/bin/lttng-relayd/viewer-stream.c [deleted file]
src/bin/lttng-relayd/viewer-stream.cpp [new file with mode: 0644]
src/common/fd-tracker/fd-tracker.h
src/common/fd-tracker/utils.h
src/common/fs-handle.h
src/common/index/index.h
src/common/trace-chunk-registry.h
src/common/trace-chunk.c
tests/unit/Makefile.am
tests/unit/test_fd_tracker.c
tests/unit/test_relayd_backward_compat_group_by_session.c [deleted file]
tests/unit/test_relayd_backward_compat_group_by_session.cpp [new file with mode: 0644]
This page took 0.028937 seconds and 4 git commands to generate.