summaryrefslogtreecommitdiff
path: root/tools/perf/arch
diff options
context:
space:
mode:
authorJin Yao <yao.jin@linux.intel.com>2021-04-27 10:01:32 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2021-04-29 16:31:00 +0300
commitafff9f312e37c64a789aad0fab1ec597404a500f (patch)
tree2c80da9a5484d7a37b03bc5ca9d53dd0c42f028c /tools/perf/arch
parent2541cb63ac0c3dfbbe363dd09a16dfdd4096fc88 (diff)
downloadlinux-afff9f312e37c64a789aad0fab1ec597404a500f.tar.xz
perf tests: Add hybrid cases for 'Roundtrip evsel->name' test
Since for one hw event, two hybrid events are created. For example, evsel->idx evsel__name(evsel) 0 cycles 1 cycles 2 instructions 3 instructions ... So for comparing the evsel name on hybrid, the evsel->idx needs to be divided by 2. # ./perf test 14 14: Roundtrip evsel->name : Ok Signed-off-by: Jin Yao <yao.jin@linux.intel.com> Reviewed-by: Jiri Olsa <jolsa@kernel.org> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Kan Liang <kan.liang@intel.com> Cc: Peter Zijlstra <peterz@infradead.org> Link: https://lore.kernel.org/r/20210427070139.25256-20-yao.jin@linux.intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/arch')
0 files changed, 0 insertions, 0 deletions