1 #ifndef ARCH_TESTS_H
2 #define ARCH_TESTS_H
3 
4 #include <linux/compiler.h>
5 struct test;
6 
7 /* Tests */
8 int test__rdpmc(struct test *test __maybe_unused, int subtest);
9 int test__perf_time_to_tsc(struct test *test __maybe_unused, int subtest);
10 int test__insn_x86(struct test *test __maybe_unused, int subtest);
11 int test__intel_cqm_count_nmi_context(struct test *test __maybe_unused, int subtest);
12 
13 #ifdef HAVE_DWARF_UNWIND_SUPPORT
14 struct thread;
15 struct perf_sample;
16 int test__arch_unwind_sample(struct perf_sample *sample,
17 			     struct thread *thread);
18 #endif
19 
20 extern struct test arch_tests[];
21 
22 #endif
23