]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf tests: Stop Convert perf time to TSC test opening events twice
authorAdrian Hunter <adrian.hunter@intel.com>
Wed, 13 Jul 2022 12:34:58 +0000 (15:34 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sun, 17 Jul 2022 13:56:58 +0000 (10:56 -0300)
commit498c7a54f169b2699104d3060604d840424f15d2
tree6405953d7de957551ec350eb8c1d22599881c3ce
parent91d248c3b903b46a58cbc7e8d38d684d3e4007c2
perf tests: Stop Convert perf time to TSC test opening events twice

Do not call evlist__open() twice.

Fixes: 5bb017d4b97a0f13 ("perf test: Fix error message for test case 71 on s390, where it is not supported")
Reviewed-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Thomas Richter <tmricht@linux.ibm.com>
Link: https://lore.kernel.org/r/20220713123459.24145-2-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/perf-time-to-tsc.c