Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[cris-mirror.git] / tools / perf / arch / x86 / include / arch-tests.h
blobc1bd979b957be76a2ff55f45d0d4011c056e0de7
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);
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
20 extern struct test arch_tests[];
22 #endif