]> git.lttng.org Git - lttng-tools.git/commit
Tests: Add get_possible_cpus_count utility
authorOlivier Dion <odion@efficios.com>
Wed, 1 Feb 2023 21:04:14 +0000 (16:04 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 31 May 2023 20:22:36 +0000 (16:22 -0400)
commitb4b790cd6754c0866af5fc785415690cb0280b30
tree1dd35a44f20998927f47e4a1a0c265014e8ce328
parent6415838fffb8294e0f8b5230449b260ea5eb1c38
Tests: Add get_possible_cpus_count utility

lttng-ust uses the possible number of CPUs to allocate its ring buffers.
Certain tests have to take that into consideration in their calculation
instead of relying on online processors.

Thus, add the same logic for calculating the possible CPUs on the
system.

Change-Id: I9f14afba3e4adad9547cbd9386f8e1b1b55a3253
Signed-off-by: Olivier Dion <odion@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/utils/utils.sh
This page took 0.0297 seconds and 4 git commands to generate.