X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2Flttng-ust-ctl%2Fustctl.c;h=817f89e426da57f5f91408b076b84eb543928c8a;hb=74cc1f594e05b5a3524529f018d85efaad53f9a3;hp=4b0e3f76b2e56e3bb8332c1da1d5115ce3a022b7;hpb=3aa28d2301d8b9c1f7eef509e3de42bca2abbffe;p=lttng-ust.git diff --git a/src/lib/lttng-ust-ctl/ustctl.c b/src/lib/lttng-ust-ctl/ustctl.c index 4b0e3f76..817f89e4 100644 --- a/src/lib/lttng-ust-ctl/ustctl.c +++ b/src/lib/lttng-ust-ctl/ustctl.c @@ -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 *