kernel_samsung_a53x/tools/perf
Namhyung Kim b6621ebcd5 perf report: Fix condition in sort__sym_cmp()
[ Upstream commit cb39d05e67dc24985ff9f5150e71040fa4d60ab8 ]

It's expected that both hist entries are in the same hists when
comparing two.  But the current code in the function checks one without
dso sort key and other with the key.  This would make the condition true
in any case.

I guess the intention of the original commit was to add '!' for the
right side too.  But as it should be the same, let's just remove it.

Fixes: 69849fc5d2119 ("perf hists: Move sort__has_dso into struct perf_hpp_list")
Reviewed-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/20240621170528.608772-2-namhyung@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-23 23:20:09 +01:00
..
arch Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bench Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Documentation Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
examples/bpf Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
include/bpf Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
jvmti Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pmu-events Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
python Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
scripts Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tests Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
trace Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ui Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
util perf report: Fix condition in sort__sym_cmp() 2024-11-23 23:20:09 +01:00
Build Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
builtin-annotate.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
builtin-bench.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
builtin-buildid-cache.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
builtin-buildid-list.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
builtin-c2c.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
builtin-config.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
builtin-data.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
builtin-diff.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
builtin-evlist.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
builtin-ftrace.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
builtin-help.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
builtin-inject.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
builtin-kallsyms.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
builtin-kmem.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
builtin-kvm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
builtin-list.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
builtin-lock.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
builtin-mem.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
builtin-probe.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
builtin-record.c perf record: Fix possible incorrect free in record__switch_output() 2024-11-19 08:44:51 +01:00
builtin-report.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
builtin-sched.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
builtin-script.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
builtin-stat.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
builtin-timechart.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
builtin-top.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
builtin-trace.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
builtin-version.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
builtin.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
check-headers.sh Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
command-list.txt Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
CREDITS Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
design.txt Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile.config Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile.perf Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
MANIFEST Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
perf-archive.sh Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
perf-completion.sh Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
perf-read-vdso.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
perf-sys.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
perf-with-kcore.sh Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
perf.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
perf.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00