diff options
author | Jin Yao <yao.jin@linux.intel.com> | 2021-07-08 04:37:00 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2021-07-14 16:05:35 +0300 |
commit | 212f3d97abc8be09549de12cedb290f47b4dce5a (patch) | |
tree | 5152a362d498ff809b9d474533be1476643206aa /mm/mprotect.c | |
parent | 490e9a8fb4a3d74602668ef2e4cc29608e9b00a6 (diff) | |
download | linux-212f3d97abc8be09549de12cedb290f47b4dce5a.tar.xz |
perf tests: Fix 'Roundtrip evsel->name' on core-only system
If the atom CPUs are offlined, the 'cpu_atom' is not valid.
Perf will not create two events for one hw event, so the
evsel->idx doesn't need to be divided by 2 before comparing.
Signed-off-by: Jin Yao <yao.jin@linux.intel.com>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jin Yao <yao.jin@intel.com>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lore.kernel.org/lkml/20210708013701.20347-4-yao.jin@linux.intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'mm/mprotect.c')
0 files changed, 0 insertions, 0 deletions