[Patch v5 0/6] Bug fixes on topdown events reordering

From: Dapeng Mi
Date: Fri Sep 13 2024 - 01:21:23 EST


Changes:
v5 -> v6:
* no function change.
* rebase patchset to latest code of perf-tool-next tree.
* Add Kan's reviewed-by tag.

History:
v4: https://lore.kernel.org/all/20240816122938.32228-1-dapeng1.mi@xxxxxxxxxxxxxxx/
v3: https://lore.kernel.org/all/20240712170339.185824-1-dapeng1.mi@xxxxxxxxxxxxxxx/
v2: https://lore.kernel.org/all/20240708144204.839486-1-dapeng1.mi@xxxxxxxxxxxxxxx/
v1: https://lore.kernel.org/all/20240702224037.343958-1-dapeng1.mi@xxxxxxxxxxxxxxx/

Dapeng Mi (6):
perf x86/topdown: Complete topdown slots/metrics events check
perf x86/topdown: Correct leader selection with sample_read enabled
perf x86/topdown: Don't move topdown metric events in group
perf tests: Add leader sampling test in record tests
perf tests: Add topdown events counting and sampling tests
perf tests: Add more topdown events regroup tests

tools/perf/arch/x86/util/evlist.c | 68 ++++++++++++++++++++++++++++--
tools/perf/arch/x86/util/evsel.c | 3 +-
tools/perf/arch/x86/util/topdown.c | 64 +++++++++++++++++++++++++++-
tools/perf/arch/x86/util/topdown.h | 2 +
tools/perf/tests/shell/record.sh | 45 ++++++++++++++++++++
tools/perf/tests/shell/stat.sh | 28 +++++++++++-
6 files changed, 201 insertions(+), 9 deletions(-)


base-commit: 1de5b5dcb8353f36581c963df2d359a5f151a0be
--
2.40.1