#include "lttng-ust-abi.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#ifndef LTTNG_UST_UUID_LEN
#define LTTNG_UST_UUID_LEN 16
#endif
/* Default unix socket path */
#define LTTNG_UST_SOCK_FILENAME \
"lttng-ust-sock-" \
- __ust_stringify(LTTNG_UST_ABI_MAJOR_VERSION)
+ __ust_stringify(LTTNG_UST_ABI_MAJOR_VERSION_OLDEST_COMPATIBLE)
/*
* Shared memory files path are automatically related to shm root, e.g.
*/
#define LTTNG_UST_WAIT_FILENAME \
"lttng-ust-wait-" \
- __ust_stringify(LTTNG_UST_ABI_MAJOR_VERSION)
+ __ust_stringify(LTTNG_UST_ABI_MAJOR_VERSION_OLDEST_COMPATIBLE)
struct lttng_ust_shm_handle;
struct lttng_ust_lib_ring_buffer;
int lttng_ust_ctl_counter_clear(struct lttng_ust_ctl_daemon_counter *counter,
const size_t *dimension_indexes);
-void ustctl_sigbus_handle(void *addr);
+void lttng_ust_ctl_sigbus_handle(void *addr);
+
+#ifdef __cplusplus
+}
+#endif
#endif /* LTTNG_UST_CTL_INTERNAL_H */