Move the getcpu plugin implementation to liblttn-ust-common
[lttng-ust.git] / src / lib / lttng-ust-common / ust-common.c
index e6c81ba65445b24d2d6510d6779a0e4abbd9e28f..1aee7ac7a7a99f4b47ce557ea68c9ab09eb80481 100644 (file)
@@ -12,6 +12,7 @@
 
 #include "lib/lttng-ust-common/fd-tracker.h"
 #include "lib/lttng-ust-common/clock.h"
+#include "lib/lttng-ust-common/getcpu.h"
 
 /*
  * The liblttng-ust-common constructor, initialize the internal shared state.
@@ -30,6 +31,11 @@ void lttng_ust_common_ctor(void)
         * Initialize the potential user-provided clock plugin.
         */
        lttng_ust_clock_init();
+
+       /*
+        * Initialize the potential user-provided getcpu plugin.
+        */
+       lttng_ust_getcpu_plugin_init();
 }
 
 void lttng_ust_common_alloc_tls(void)
This page took 0.034017 seconds and 4 git commands to generate.