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 	{
27 		.desc = "Intel PT packet decoder",
28 		.func = test__intel_pt_pkt_decoder,
29 	},
30 #endif
31 #if defined(__x86_64__)
32 	{
33 		.desc = "x86 bp modify",
34 		.func = test__bp_modify,
35 	},
36 #endif
37 	{
38 		.func = NULL,
39 	},
40 
41 };
42