perf tests: Move x86 tests into arch directory
authorMatt Fleming <matt.fleming@intel.com>
Mon, 5 Oct 2015 14:40:20 +0000 (15:40 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 5 Oct 2015 19:55:43 +0000 (16:55 -0300)
commitd8b167f9d8af817073ee35cf904e2e527465dbc1
treecb7a68e763eee2c7d1796151738e53c597860b39
parent31b6753f95320260b160935d0e9c0b29f096ab57
perf tests: Move x86 tests into arch directory

Move out the x86-specific tests into tools/perf/arch/x86/tests and
define an 'arch_tests' array, which is the list of tests that only apply
to the build architecture.

We can also now begin to get rid of some of the #ifdef code that is
present in the generic perf tests.

Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Kanaka Juvva <kanaka.d.juvva@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Vikas Shivappa <vikas.shivappa@intel.com>
Cc: Vince Weaver <vince@deater.net>
Link: http://lkml.kernel.org/n/tip-9s68h4ptg06ah0lgnjz55mqn@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
16 files changed:
tools/perf/arch/x86/include/arch-tests.h
tools/perf/arch/x86/tests/Build
tools/perf/arch/x86/tests/arch-tests.c
tools/perf/arch/x86/tests/dwarf-unwind.c
tools/perf/arch/x86/tests/gen-insn-x86-dat.awk [moved from tools/perf/tests/gen-insn-x86-dat.awk with 100% similarity]
tools/perf/arch/x86/tests/gen-insn-x86-dat.sh [moved from tools/perf/tests/gen-insn-x86-dat.sh with 100% similarity]
tools/perf/arch/x86/tests/insn-x86-dat-32.c [moved from tools/perf/tests/insn-x86-dat-32.c with 100% similarity]
tools/perf/arch/x86/tests/insn-x86-dat-64.c [moved from tools/perf/tests/insn-x86-dat-64.c with 100% similarity]
tools/perf/arch/x86/tests/insn-x86-dat-src.c [moved from tools/perf/tests/insn-x86-dat-src.c with 100% similarity]
tools/perf/arch/x86/tests/insn-x86.c [moved from tools/perf/tests/insn-x86.c with 98% similarity]
tools/perf/arch/x86/tests/perf-time-to-tsc.c [moved from tools/perf/tests/perf-time-to-tsc.c with 98% similarity]
tools/perf/arch/x86/tests/rdpmc.c [moved from tools/perf/tests/rdpmc.c with 97% similarity]
tools/perf/tests/Build
tools/perf/tests/builtin-test.c
tools/perf/tests/dwarf-unwind.c
tools/perf/tests/tests.h