fix: removed accidental VLA in _get_num_possible_cpus()
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 27 Jul 2022 14:54:53 +0000 (10:54 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 27 Jul 2022 15:22:20 +0000 (11:22 -0400)
The LTTNG_UST_PAGE_SIZE define can either point to a literal value or
the sysconf() function making buf[] a VLA. Replace this by a
cpumask specifc define that will always be a literal value.

Change-Id: I8d329f314878e8018939f979861918969e3ec8ac
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>

No differences found
This page took 0.0242 seconds and 4 git commands to generate.