summaryrefslogtreecommitdiff
path: root/tools/perf/arch/x86/tests/arch-tests.c
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2015-10-05 15:40:19 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2015-10-05 16:55:38 -0300
commit31b6753f95320260b160935d0e9c0b29f096ab57 (patch)
treee5e388b26be17aab71c912664b24e7fdb69ceeef /tools/perf/arch/x86/tests/arch-tests.c
parenta1853e2c6f8ed488adcd84fb162c5b3f0b674d9b (diff)
perf tests: Add arch tests
Tests that only make sense for some architectures currently live in the same place as the generic tests. 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. The main idea is to encourage developers to add arch tests to build out perf's test coverage, without dumping everything in tools/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-p4uc1c15ssbj8xj7ku5slpa6@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/arch/x86/tests/arch-tests.c')
-rw-r--r--tools/perf/arch/x86/tests/arch-tests.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/perf/arch/x86/tests/arch-tests.c b/tools/perf/arch/x86/tests/arch-tests.c
new file mode 100644
index 000000000000..fca9eb9d39a2
--- /dev/null
+++ b/tools/perf/arch/x86/tests/arch-tests.c
@@ -0,0 +1,10 @@
+#include <string.h>
+#include "tests/tests.h"
+#include "arch-tests.h"
+
+struct test arch_tests[] = {
+ {
+ .func = NULL,
+ },
+
+};