xref: /linux/tools/perf/arch/x86/tests/arch-tests.c (revision 172cdcaefea5c297fdb3d20b7d5aff60ae4fbce6)
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 #ifdef HAVE_DWARF_UNWIND_SUPPORT
12 	{
13 		.desc = "DWARF unwind",
14 		.func = test__dwarf_unwind,
15 	},
16 #endif
17 #ifdef HAVE_AUXTRACE_SUPPORT
18 	{
19 		.desc = "x86 instruction decoder - new instructions",
20 		.func = test__insn_x86,
21 	},
22 	{
23 		.desc = "Intel PT packet decoder",
24 		.func = test__intel_pt_pkt_decoder,
25 	},
26 #endif
27 #if defined(__x86_64__)
28 	{
29 		.desc = "x86 bp modify",
30 		.func = test__bp_modify,
31 	},
32 #endif
33 	{
34 		.desc = "x86 Sample parsing",
35 		.func = test__x86_sample_parsing,
36 	},
37 	{
38 		.func = NULL,
39 	},
40 
41 };
42