Change-Id: I9938237cee13a534d5c52288983238c0871dc504
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
#include <lttng/lttng-error.h>
#include <stdbool.h>
+
#ifdef __cplusplus
extern "C" {
#endif
#include <common/fd-handle.h>
#include <common/macros.h>
+#include <lttng/lttng-error.h>
#include <lttng/kernel-probe.h>
#include <lttng/lttng-error.h>
#include <stdbool.h>
test_session_LDADD = $(LIBTAP) $(LIBLTTNG_SESSIOND_COMMON) $(DL_LIBS)
if HAVE_LIBLTTNG_UST_CTL
-test_session_SOURCES += ust-sigbus.c
+test_session_SOURCES += ust-sigbus.cpp
test_session_LDADD += $(UST_CTL_LIBS)
endif
+++ /dev/null
-/*
- * Copyright (C) 2021 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
- *
- * SPDX-License-Identifier: GPL-2.0-only
- *
- */
-
-#include <lttng/lttng-export.h>
-#include <lttng/ust-sigbus.h>
-
-LTTNG_EXPORT DEFINE_LTTNG_UST_SIGBUS_STATE();
--- /dev/null
+/*
+ * Copyright (C) 2021 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+ *
+ * SPDX-License-Identifier: GPL-2.0-only
+ *
+ */
+
+#include <lttng/lttng-export.h>
+#include <lttng/ust-sigbus.h>
+
+LTTNG_EXPORT DEFINE_LTTNG_UST_SIGBUS_STATE();