Split clock.h into an internal liblttng-ust header and a common header
to allow access to 'lttng_ust_clock_init' which is part of the private
ABI of liblttng-ust.
Change-Id: Ic23ed01201edaebecb61ff071dd1d38281ff6de8
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
align.h \
bitfield.h \
bitmap.h \
+ clock.h \
dynamic-type.h \
elf.h \
logging.h \
--- /dev/null
+/*
+ * SPDX-License-Identifier: LGPL-2.1-only
+ *
+ * Copyright (C) 2016 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+ */
+
+#ifndef _UST_COMMON_CLOCK_H
+#define _UST_COMMON_CLOCK_H
+
+/*
+ * Part of the private ABI between liblttng-ust and liblttng-ust-ctl.
+ */
+void lttng_ust_clock_init(void);
+
+#endif /* _UST_COMMON_CLOCK_H */
#include "lib/lttng-ust/ust-events-internal.h"
#include "common/wait.h"
#include "lib/lttng-ust/lttng-rb-clients.h"
-#include "lib/lttng-ust/clock.h"
+#include "common/clock.h"
#include "lib/lttng-ust/getenv.h"
#include "lib/lttng-ust/lttng-tracer-core.h"
#include "lib/lttng-ust/lttng-counter-client.h"
#include <urcu/arch.h>
#include <lttng/ust-clock.h>
+#include "common/clock.h"
#include "lttng-ust-uuid.h"
struct lttng_ust_trace_clock {
extern struct lttng_ust_trace_clock *lttng_ust_trace_clock
__attribute__((visibility("hidden")));
-void lttng_ust_clock_init(void);
-
/* Use the kernel MONOTONIC clock. */
static __inline__