Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
31b6753f MF |
2 | #ifndef ARCH_TESTS_H |
3 | #define ARCH_TESTS_H | |
4 | ||
81f17c90 ACM |
5 | #include <linux/compiler.h> |
6 | struct test; | |
7 | ||
d8b167f9 | 8 | /* Tests */ |
81f17c90 ACM |
9 | int test__rdpmc(struct test *test __maybe_unused, int subtest); |
10 | int test__perf_time_to_tsc(struct test *test __maybe_unused, int subtest); | |
11 | int test__insn_x86(struct test *test __maybe_unused, int subtest); | |
12 | int test__intel_cqm_count_nmi_context(struct test *test __maybe_unused, int subtest); | |
d8b167f9 MF |
13 | |
14 | #ifdef HAVE_DWARF_UNWIND_SUPPORT | |
15 | struct thread; | |
16 | struct perf_sample; | |
17 | int test__arch_unwind_sample(struct perf_sample *sample, | |
18 | struct thread *thread); | |
19 | #endif | |
20 | ||
31b6753f MF |
21 | extern struct test arch_tests[]; |
22 | ||
23 | #endif |