aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/arch/x86/tests/arch-tests.c
blob: d116c217af993277df85009af2586642aa9e8e21 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#include <string.h>
#include "tests/tests.h"
#include "arch-tests.h"

struct test arch_tests[] = {
	{
		.desc = "x86 rdpmc test",
		.func = test__rdpmc,
	},
	{
		.desc = "Test converting perf time to TSC",
		.func = test__perf_time_to_tsc,
	},
#ifdef HAVE_DWARF_UNWIND_SUPPORT
	{
		.desc = "Test dwarf unwind",
		.func = test__dwarf_unwind,
	},
#endif
#ifdef HAVE_AUXTRACE_SUPPORT
	{
		.desc = "Test x86 instruction decoder - new instructions",
		.func = test__insn_x86,
	},
#endif
	{
		.func = NULL,
	},

};