projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clarify terminolgy around cpu ids and array length
[lttng-ust.git]
/
src
/
lib
/
lttng-ust-ctl
/
ustctl.c
diff --git
a/src/lib/lttng-ust-ctl/ustctl.c
b/src/lib/lttng-ust-ctl/ustctl.c
index bcbd9c66c2a2b01da949e7f85a6a3628a34c49dc..6faaef5ed44ff4fcc88a31b181ddd511c3f87cce 100644
(file)
--- a/
src/lib/lttng-ust-ctl/ustctl.c
+++ b/
src/lib/lttng-ust-ctl/ustctl.c
@@
-1384,7
+1384,7
@@
error:
int lttng_ust_ctl_get_nr_stream_per_channel(void)
{
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 *
}
struct lttng_ust_ctl_consumer_channel *
@@
-2904,7
+2904,7
@@
int lttng_ust_ctl_regenerate_statedump(int sock, int handle)
int lttng_ust_ctl_get_nr_cpu_per_counter(void)
{
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 *
}
struct lttng_ust_ctl_daemon_counter *
This page took
0.023063 seconds
and
4
git commands to generate.