linux-stable/tools/perf/arch
Dapeng Mi b68b5b36c7 perf x86/topdown: Make topdown metrics comparators be symmetric
The commit "3b5edc0421e2 (perf x86/topdown: Don't move topdown metric
 events in group)" modifies topdown metrics comparator to move topdown
metrics events which are not in same group with previous event. But it
just modifies the 2nd comparator and causes the comparators become
asymmetric.

Thus modify the 1st topdown metrics comparator and make the two
comparators be symmetric, and refine the comments as well.

Suggested-by: Ian Rogers <irogers@google.com>
Signed-off-by: Dapeng Mi <dapeng1.mi@linux.intel.com>
Reviewed-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20241011110207.1032235-1-dapeng1.mi@linux.intel.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
2024-10-16 13:36:41 -07:00
..
alpha perf tools: Add empty Build files for architectures lacking them 2015-08-06 16:24:15 -03:00
arc/annotate perf annotate: Introduce basic support for ARC 2018-12-17 14:59:42 -03:00
arm perf: cs-etm: Only save valid trace IDs into files 2024-08-29 15:55:52 -03:00
arm64 perf tool_pmu: Move expr literals to tool_pmu 2024-10-10 23:40:32 -07:00
csky perf util: Make util its own library 2024-06-26 11:07:42 -07:00
loongarch perf annotate: Update parameters for reg extract functions to use raw instruction on powerpc 2024-07-31 16:12:59 -03:00
mips Merge remote-tracking branch 'perf-tools' into perf-tools-next 2024-07-02 11:51:32 -07:00
parisc perf tools: Add empty Build files for architectures lacking them 2015-08-06 16:24:15 -03:00
powerpc Merge remote-tracking branch 'torvalds/master' into perf-tools-next 2024-08-16 19:43:16 -03:00
riscv ARM: 2024-07-20 12:41:03 -07:00
riscv64/annotate perf annotate: Add riscv64 support 2021-09-27 09:33:44 -03:00
s390 Merge remote-tracking branch 'torvalds/master' into perf-tools-next 2024-08-16 19:43:16 -03:00
sh perf util: Make util its own library 2024-06-26 11:07:42 -07:00
sparc perf util: Make util its own library 2024-06-26 11:07:42 -07:00
x86 perf x86/topdown: Make topdown metrics comparators be symmetric 2024-10-16 13:36:41 -07:00
xtensa perf util: Make util its own library 2024-06-26 11:07:42 -07:00
Build perf util: Make util its own library 2024-06-26 11:07:42 -07:00
common.c perf tools riscv: Add support for riscv lookup_binutils_path 2023-05-12 15:21:48 -03:00
common.h perf annotate: Own objdump_path and disassembler_style strings 2023-04-04 09:39:56 -03:00