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

2024-02-05 Thread Reinette Chatre
On 2/5/2024 5:24 AM, Maciej Wieczor-Retman wrote: > On 2024-02-05 at 14:41:30 +0200, Ilpo Järvinen wrote: >> On Mon, 5 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 monitor

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

2024-02-05 Thread Maciej Wieczor-Retman
On 2024-02-05 at 14:41:30 +0200, Ilpo Järvinen wrote: >On Mon, 5 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. >> >> R

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

2024-02-05 Thread Ilpo Järvinen
On Mon, 5 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 f

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

2024-02-05 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