On 3/23/2022 1:09 AM, Shaopeng Tan wrote:
Currently, the resctrl_tests only has a function to detect AMD vendor. Since when the Intel Sub-NUMA Clustering feature is enabled, Intel CMT and MBM counters may not be accurate, the resctrl_tests also need a function to detect Intel vendor. And in the future, resctrl_tests will need a function to detect different vendors, such as Arm.
Extend the function to detect Intel vendor as well. Also, this function can be easily extended to detect other vendors.
Signed-off-by: Shaopeng Tan tan.shaopeng@jp.fujitsu.com
Reviewed-by: Reinette Chatre reinette.chatre@intel.com
Thank you
Reinette