X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=src%2Flib%2Flttng-ust-common%2Fust-common.c;h=e6c81ba65445b24d2d6510d6779a0e4abbd9e28f;hb=f41a6b5f307db311352f79d35f0656959db60891;hp=e163383d2b458bca3b9386f91b680cb0da825ea9;hpb=fca97dfd73a96bbf964c39e7f3a21fe70cccee96;p=lttng-ust.git diff --git a/src/lib/lttng-ust-common/ust-common.c b/src/lib/lttng-ust-common/ust-common.c index e163383d..e6c81ba6 100644 --- 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 "lib/lttng-ust-common/clock.h" /* * 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 potential user-provided clock plugin. + */ + lttng_ust_clock_init(); +} + +void lttng_ust_common_alloc_tls(void) +{ + lttng_ust_fd_tracker_alloc_tls(); }