Move the clock plugin implementation to liblttng-ust-common
[lttng-ust.git] / src / lib / lttng-ust-common / ust-common.c
index f444c97f1a7cb7916b5237de791dcf606a774423..e6c81ba65445b24d2d6510d6779a0e4abbd9e28f 100644 (file)
@@ -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,6 +25,11 @@ 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)
This page took 0.023246 seconds and 4 git commands to generate.