Re: [PATCH v6 3/5] selftests/resctrl: Split validate_resctrl_feature_request()

2024-02-20 Thread Reinette Chatre
Hi Maciej, On 2/16/2024 12:35 AM, Maciej Wieczor-Retman wrote: > validate_resctrl_feature_request() is used to test both if a resource is > present in the info directory, and if a passed monitoring feature is > present in the mon_features file. > > Refactor validate_resctrl_feature_request() into

Re: [PATCH v6 3/5] selftests/resctrl: Split validate_resctrl_feature_request()

2024-02-16 Thread Ilpo Järvinen
On Fri, 16 Feb 2024, Maciej Wieczor-Retman wrote: > validate_resctrl_feature_request() is used to test both if a resource is > present in the info directory, and if a passed monitoring feature is > present in the mon_features file. > > Refactor validate_resctrl_feature_request() into two smaller

[PATCH v6 3/5] selftests/resctrl: Split validate_resctrl_feature_request()

2024-02-16 Thread Maciej Wieczor-Retman
validate_resctrl_feature_request() is used to test both if a resource is present in the info directory, and if a passed monitoring feature is present in the mon_features file. Refactor validate_resctrl_feature_request() into two smaller functions that each accomplish one check to give feature chec