Linux Perf
arch-tests.c
Go to the documentation of this file.
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 };
const char * desc
Definition: tests.h:31
int test__insn_x86(struct test *test __maybe_unused, int subtest)
Definition: insn-x86.c:175
int test__rdpmc(struct test *test __maybe_unused, int subtest)
Definition: rdpmc.c:158
struct test arch_tests[]
Definition: arch-tests.c:6
int test__dwarf_unwind(struct test *test __maybe_unused, int subtest __maybe_unused)
Definition: dwarf-unwind.c:172
Definition: tests.h:30
int test__perf_time_to_tsc(struct test *test __maybe_unused, int subtest)