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>
24 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 [new file with mode: 0644]
tools/perf/arch/x86/tests/gen-insn-x86-dat.sh [new file with mode: 0755]
tools/perf/arch/x86/tests/insn-x86-dat-32.c [new file with mode: 0644]
tools/perf/arch/x86/tests/insn-x86-dat-64.c [new file with mode: 0644]
tools/perf/arch/x86/tests/insn-x86-dat-src.c [new file with mode: 0644]
tools/perf/arch/x86/tests/insn-x86.c [new file with mode: 0644]
tools/perf/arch/x86/tests/perf-time-to-tsc.c [new file with mode: 0644]
tools/perf/arch/x86/tests/rdpmc.c [new file with mode: 0644]
tools/perf/tests/Build
tools/perf/tests/builtin-test.c
tools/perf/tests/dwarf-unwind.c
tools/perf/tests/gen-insn-x86-dat.awk [deleted file]
tools/perf/tests/gen-insn-x86-dat.sh [deleted file]
tools/perf/tests/insn-x86-dat-32.c [deleted file]
tools/perf/tests/insn-x86-dat-64.c [deleted file]
tools/perf/tests/insn-x86-dat-src.c [deleted file]
tools/perf/tests/insn-x86.c [deleted file]
tools/perf/tests/perf-time-to-tsc.c [deleted file]
tools/perf/tests/rdpmc.c [deleted file]
tools/perf/tests/tests.h