blob: 7ed00f4b09080fdb5379129d8ed952d43b258f1e [file] [log] [blame]
Matt Fleming31b67532015-10-05 15:40:19 +01001#ifndef ARCH_TESTS_H
2#define ARCH_TESTS_H
3
Matt Flemingd8b167f2015-10-05 15:40:20 +01004/* Tests */
5int test__rdpmc(void);
6int test__perf_time_to_tsc(void);
7int test__insn_x86(void);
Matt Fleming035827e2015-10-05 15:40:21 +01008int test__intel_cqm_count_nmi_context(void);
Matt Flemingd8b167f2015-10-05 15:40:20 +01009
10#ifdef HAVE_DWARF_UNWIND_SUPPORT
11struct thread;
12struct perf_sample;
13int test__arch_unwind_sample(struct perf_sample *sample,
14 struct thread *thread);
15#endif
16
Matt Fleming31b67532015-10-05 15:40:19 +010017extern struct test arch_tests[];
18
19#endif