Merge tag 'block-5.9-2020-08-14' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / tools / perf / arch / x86 / include / arch-tests.h
blobc41c5affe4be7744c4404b273b0853348cfc69fa
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef ARCH_TESTS_H
3 #define ARCH_TESTS_H
5 #include <linux/compiler.h>
6 struct test;
8 /* Tests */
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_pt_pkt_decoder(struct test *test, int subtest);
13 int test__bp_modify(struct test *test, int subtest);
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
22 extern struct test arch_tests[];
24 #endif