diff options
author | Leo Yan <leo.yan@linaro.org> | 2022-05-30 11:42:53 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2022-06-03 22:40:15 +0300 |
commit | b24192a17337abbf3f44aaa75e15df14a2d0016e (patch) | |
tree | 85120ad52c8f0a9af4b26291c1b227cf72c6c115 /tools/perf/util/cloexec.h | |
parent | 62e6eb8d5454401bc38b6eba35bab738b63a478b (diff) | |
download | linux-b24192a17337abbf3f44aaa75e15df14a2d0016e.tar.xz |
perf c2c: Fix sorting in percent_rmt_hitm_cmp()
The function percent_rmt_hitm_cmp() wrongly uses local HITMs for
sorting remote HITMs.
Since this function is to sort cache lines for remote HITMs, this patch
changes to use 'rmt_hitm' field for correct sorting.
Fixes: 9cb3500afc0980c5 ("perf c2c report: Add hitm/store percent related sort keys")
Signed-off-by: Leo Yan <leo.yan@linaro.org>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Joe Mario <jmario@redhat.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20220530084253.750190-1-leo.yan@linaro.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/cloexec.h')
0 files changed, 0 insertions, 0 deletions