diff options
author | Ian Rogers <irogers@google.com> | 2025-01-17 10:18:48 -0800 |
---|---|---|
committer | Namhyung Kim <namhyung@kernel.org> | 2025-01-18 10:02:10 -0800 |
commit | 035f0c279bcfc07314240de273d90f4061aef04d (patch) | |
tree | 28ff6090c9d777f129609c70ab4c9b3ca018f6fc /tools/perf/scripts/python/gecko.py | |
parent | ac22d75377a04ceca53a8d438440e82bf4c722fc (diff) |
perf annotate: Prefer passing evsel to evsel->core.idx
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.
Signed-off-by: Ian Rogers <irogers@google.com>
Cc: Chen Ni <nichen@iscas.ac.cn>
Cc: Athira Rajeev <atrajeev@linux.vnet.ibm.com>
Link: https://lore.kernel.org/r/20250117181848.690474-1-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions