projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move the clock plugin implementation to liblttng-ust-common
[lttng-ust.git]
/
src
/
lib
/
lttng-ust-common
/
ust-common.c
diff --git
a/src/lib/lttng-ust-common/ust-common.c
b/src/lib/lttng-ust-common/ust-common.c
index e163383d2b458bca3b9386f91b680cb0da825ea9..e6c81ba65445b24d2d6510d6779a0e4abbd9e28f 100644
(file)
--- a/
src/lib/lttng-ust-common/ust-common.c
+++ b/
src/lib/lttng-ust-common/ust-common.c
@@
-11,6
+11,7
@@
#include "common/getenv.h"
#include "lib/lttng-ust-common/fd-tracker.h"
#include "common/getenv.h"
#include "lib/lttng-ust-common/fd-tracker.h"
+#include "lib/lttng-ust-common/clock.h"
/*
* The liblttng-ust-common constructor, initialize the internal shared state.
/*
* The liblttng-ust-common constructor, initialize the internal shared state.
@@
-24,4
+25,14
@@
void lttng_ust_common_ctor(void)
* Initialize the shared state of the fd tracker.
*/
lttng_ust_fd_tracker_init();
* Initialize the shared state of the fd tracker.
*/
lttng_ust_fd_tracker_init();
+
+ /*
+ * Initialize the potential user-provided clock plugin.
+ */
+ lttng_ust_clock_init();
+}
+
+void lttng_ust_common_alloc_tls(void)
+{
+ lttng_ust_fd_tracker_alloc_tls();
}
}
This page took
0.024298 seconds
and
4
git commands to generate.