1 // SPDX-License-Identifier: GPL-2.0
2 #include <string.h>
3 #include "tests/tests.h"
4 #include "arch-tests.h"
5 
6 struct test arch_tests[] = {
7 	{
8 		.desc = "x86 rdpmc",
9 		.func = test__rdpmc,
10 	},
11 	{
12 		.desc = "Convert perf time to TSC",
13 		.func = test__perf_time_to_tsc,
14 	},
15 #ifdef HAVE_DWARF_UNWIND_SUPPORT
16 	{
17 		.desc = "DWARF unwind",
18 		.func = test__dwarf_unwind,
19 	},
20 #endif
21 #ifdef HAVE_AUXTRACE_SUPPORT
22 	{
23 		.desc = "x86 instruction decoder - new instructions",
24 		.func = test__insn_x86,
25 	},
26 #endif
27 #if defined(__x86_64__)
28 	{
29 		.desc = "x86 bp modify",
30 		.func = test__bp_modify,
31 	},
32 #endif
33 	{
34 		.func = NULL,
35 	},
36 
37 };
38