Remove duplicated 'smp' code
[lttng-ust.git] / src / lib / lttng-ust-ctl / ustctl.c
index 4b0e3f76b2e56e3bb8332c1da1d5115ce3a022b7..817f89e426da57f5f91408b076b84eb543928c8a 100644 (file)
@@ -32,7 +32,7 @@
 #include "lib/lttng-ust/lttng-tracer-core.h"
 #include "lib/lttng-ust/lttng-counter-client.h"
 
-#include "common/counter/smp.h"
+#include "common/smp.h"
 #include "common/counter/counter.h"
 
 /*
@@ -2534,7 +2534,7 @@ int ustctl_regenerate_statedump(int sock, int handle)
 
 int ustctl_get_nr_cpu_per_counter(void)
 {
-       return lttng_counter_num_possible_cpus();
+       return num_possible_cpus();
 }
 
 struct ustctl_daemon_counter *
This page took 0.023729 seconds and 4 git commands to generate.