Re: [PATCH v4 05/48] perf stat: Switch to cpu version of cpu_map__get

From: Arnaldo Carvalho de Melo
Date: Tue Jan 11 2022 - 13:50:17 EST




On January 11, 2022 3:46:41 PM GMT-03:00, Ian Rogers <irogers@xxxxxxxxxx> wrote:
>On Mon, Jan 10, 2022 at 11:04 AM John Garry <john.garry@xxxxxxxxxx> wrote:
>>
>> On 05/01/2022 06:13, Ian Rogers wrote:
>> > Avoid bugs where the wrong index is passed with the cpu_map.
>>
>> nit: Don't you mean possible bugs?
>
>You are right. I'll watch myself doing this in the future.

I'll update the comment,

I'm still testing it and giving more time for review, including to the adjustments I made..

- Arnaldo

>
>Thanks,
>Ian
>
>> >
>> > Reviewed-by: James Clark <james.clark@xxxxxxx>
>> > Signed-off-by: Ian Rogers <irogers@xxxxxxxxxx>