Matt Fleming | 31b6753 | 2015-10-05 15:40:19 +0100 | [diff] [blame] | 1 | #ifndef ARCH_TESTS_H |
| 2 | #define ARCH_TESTS_H |
| 3 | |
Matt Fleming | d8b167f | 2015-10-05 15:40:20 +0100 | [diff] [blame] | 4 | /* Tests */ |
| 5 | int test__rdpmc(void); |
| 6 | int test__perf_time_to_tsc(void); |
| 7 | int test__insn_x86(void); |
Matt Fleming | 035827e | 2015-10-05 15:40:21 +0100 | [diff] [blame] | 8 | int test__intel_cqm_count_nmi_context(void); |
Matt Fleming | d8b167f | 2015-10-05 15:40:20 +0100 | [diff] [blame] | 9 | |
| 10 | #ifdef HAVE_DWARF_UNWIND_SUPPORT |
| 11 | struct thread; |
| 12 | struct perf_sample; |
| 13 | int test__arch_unwind_sample(struct perf_sample *sample, |
| 14 | struct thread *thread); |
| 15 | #endif |
| 16 | |
Matt Fleming | 31b6753 | 2015-10-05 15:40:19 +0100 | [diff] [blame] | 17 | extern struct test arch_tests[]; |
| 18 | |
| 19 | #endif |