f5e3195768a4243612bdb3bd960ef6473f06c660
[platform/kernel/linux-rpi.git] / tools / perf / arch / x86 / tests / arch-tests.c
1 // SPDX-License-Identifier: GPL-2.0
2 #include <string.h>
3 #include "tests/tests.h"
4 #include "arch-tests.h"
5
6 DEFINE_SUITE("x86 rdpmc", rdpmc);
7 #ifdef HAVE_AUXTRACE_SUPPORT
8 DEFINE_SUITE("x86 instruction decoder - new instructions", insn_x86);
9 DEFINE_SUITE("Intel PT packet decoder", intel_pt_pkt_decoder);
10 #endif
11 #if defined(__x86_64__)
12 DEFINE_SUITE("x86 bp modify", bp_modify);
13 #endif
14 DEFINE_SUITE("x86 Sample parsing", x86_sample_parsing);
15
16 struct test *arch_tests[] = {
17         &rdpmc,
18 #ifdef HAVE_DWARF_UNWIND_SUPPORT
19         &dwarf_unwind,
20 #endif
21 #ifdef HAVE_AUXTRACE_SUPPORT
22         &insn_x86,
23         &intel_pt_pkt_decoder,
24 #endif
25 #if defined(__x86_64__)
26         &bp_modify,
27 #endif
28         &x86_sample_parsing,
29         NULL,
30 };