xref: /linux/tools/perf/arch/x86/tests/arch-tests.c (revision a4eb44a6435d6d8f9e642407a4a06f65eb90ca04)
1 // SPDX-License-Identifier: GPL-2.0
2 #include <string.h>
3 #include "tests/tests.h"
4 #include "arch-tests.h"
5 
6 DEFINE_SUITE("x86 rdpmc", rdpmc);
7 #ifdef HAVE_AUXTRACE_SUPPORT
8 DEFINE_SUITE("x86 instruction decoder - new instructions", insn_x86);
9 DEFINE_SUITE("Intel PT packet decoder", intel_pt_pkt_decoder);
10 #endif
11 #if defined(__x86_64__)
12 DEFINE_SUITE("x86 bp modify", bp_modify);
13 #endif
14 DEFINE_SUITE("x86 Sample parsing", x86_sample_parsing);
15 
16 struct test_suite *arch_tests[] = {
17 	&suite__rdpmc,
18 #ifdef HAVE_DWARF_UNWIND_SUPPORT
19 	&suite__dwarf_unwind,
20 #endif
21 #ifdef HAVE_AUXTRACE_SUPPORT
22 	&suite__insn_x86,
23 	&suite__intel_pt_pkt_decoder,
24 #endif
25 #if defined(__x86_64__)
26 	&suite__bp_modify,
27 #endif
28 	&suite__x86_sample_parsing,
29 	NULL,
30 };
31