Clarify terminology around cpu ids and array length
[lttng-ust.git] / src / lib / lttng-ust-ctl / ustctl.c
index 23612fd684ef982c797ab57ebf2853986f7efbc5..0e6dc06edfa51ba6eea1e7e7519e805d5a2c5a5a 100644 (file)
@@ -1384,7 +1384,7 @@ error:
 
 int lttng_ust_ctl_get_nr_stream_per_channel(void)
 {
-       return num_possible_cpus();
+       return get_possible_cpus_array_len();
 }
 
 struct lttng_ust_ctl_consumer_channel *
@@ -2901,7 +2901,7 @@ int lttng_ust_ctl_regenerate_statedump(int sock, int handle)
 
 int lttng_ust_ctl_get_nr_cpu_per_counter(void)
 {
-       return num_possible_cpus();
+       return get_possible_cpus_array_len();
 }
 
 struct lttng_ust_ctl_daemon_counter *
This page took 0.0244 seconds and 4 git commands to generate.