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