[PATCH v2 0/2] libperf: evlist: Fix --cpu argument on hybrid platform

James Clark posted 2 patches 1 week, 1 day ago
tools/lib/perf/evlist.c            | 19 ++++++++++++--
tools/lib/perf/tests/test-evlist.c | 41 ++++++++++++++++++++++++++++++
tools/perf/builtin-record.c        | 18 +++----------
3 files changed, 61 insertions(+), 17 deletions(-)
[PATCH v2 0/2] libperf: evlist: Fix --cpu argument on hybrid platform
Posted by James Clark 1 week, 1 day ago
Since [1] this isn't strictly required anymore, because the failures
due to opening extended type events on 'any' CPU are now skipped.

However, it does reduce quite a few spurious warnings from all the skips
so I think we should still include it.

Separated into two parts so that the first is backportable and the
second is a cleanup. Also if the first one is backported then it will
fix stable Perfs that might not get [1].

Applies on [1].

[1]: https://lore.kernel.org/linux-perf-users/20241113011956.402096-1-irogers@google.com/T/#t

James Clark (2):
  libperf: evlist: Fix --cpu argument on hybrid platform
  libperf: evlist: Keep evsel idx contiguous on removal

 tools/lib/perf/evlist.c            | 19 ++++++++++++--
 tools/lib/perf/tests/test-evlist.c | 41 ++++++++++++++++++++++++++++++
 tools/perf/builtin-record.c        | 18 +++----------
 3 files changed, 61 insertions(+), 17 deletions(-)

-- 
2.34.1