avocado-framework / avocado

Avocado is a set of tools and libraries to help with automated testing. One can call it a test framework with benefits. Native tests are written in Python and they follow the unittest pattern, but any executable can serve as a test.
https://avocado-framework.github.io/
Other
342 stars 340 forks source link

avocado/utils/cpu.py: add getting physical core from lscpu #5916

Closed disgoel closed 5 months ago

disgoel commented 5 months ago

This patch adds support for getting number of physical cores present in a lpar from lscpu. This is useful for running perf 24x7 events which requires this value with domain parameter.