Re: [PATCH v3] perf annotate: Prefer passing evsel to evsel->core.idx

From: Namhyung Kim
Date: Mon Jan 20 2025 - 13:27:05 EST


On Fri, 17 Jan 2025 10:18:48 -0800, Ian Rogers wrote:

> An evsel idx may not be stable due to sorting, evlist removal,
> etc. Try to reduce it being part of APIs by explicitly passing the
> evsel in annotate code. Internally the code just reads evsel->core.idx
> so behavior is unchanged.
>
>

Applied to perf-tools-next, thanks!

Best regards,
Namhyung