[PATCH v3 2/3] selftests/resctrl: Replace counter index references with pointers
wuyifan
wuyifan50 at huawei.com
Fri Jun 26 02:41:48 PDT 2026
Hi Reinette,
Thanks for the review.
On 6/26/2026 6:14 AM, Reinette Chatre wrote:
> On 5/22/26 2:05 AM, Yifan Wu wrote:
>> Replace direct counter number references with pointers to remove the
>> dependency on fixed array indexing and enable the use of different
>> data structures for counter management.
>>
>> Signed-off-by: Yifan Wu<wuyifan50 at huawei.com>
>> ---
> Please improve readibility here by moving the above two lines up while ensuring alignment with
> open parenthesis. Specifically:
> imc_counter->fd = perf_event_open(&imc_counter->pe, -1, cpu_no, -1,
> PERF_FLAG_FD_CLOEXEC);
> ...
>
> With the style fixups:
> | Reviewed-by: Reinette Chatre<reinette.chatre at intel.com>
>
> Reinette
I will fix that.
Thanks,
Yifan
More information about the linux-arm-kernel
mailing list