From: Olivier Dion Date: Wed, 1 Feb 2023 21:04:14 +0000 (-0500) Subject: Tests: Add get_possible_cpus_count utility X-Git-Url: http://git.lttng.org./?a=commitdiff_plain;h=198b841770f31d35afe1e50ff52e41e7599759e3;hp=198b841770f31d35afe1e50ff52e41e7599759e3;p=lttng-tools.git 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 Signed-off-by: Jérémie Galarneau ---