perf tests: Fix 'Convert perf time to TSC' on core-only system
authorJin Yao <yao.jin@linux.intel.com>
Thu, 8 Jul 2021 01:37:01 +0000 (09:37 +0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 14 Jul 2021 13:05:35 +0000 (10:05 -0300)
commitde3d5fd83c9b1099b0d207b41a222dc451184a63
tree1676cd363bc9df6c9cbdfd56e13f4d2c9a667631
parent212f3d97abc8be09549de12cedb290f47b4dce5a
perf tests: Fix 'Convert perf time to TSC' on core-only system

If the atom CPUs are offlined, the 'cpu_atom' is not valid.
We don't need the test case for 'cpu_atom'.

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-5-yao.jin@linux.intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/perf-time-to-tsc.c