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 	{
28 		.func = NULL,
29 	},
30 
31 };
32