arch-tests.h 549 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef ARCH_TESTS_H
  3. #define ARCH_TESTS_H
  4. #include <linux/compiler.h>
  5. struct test;
  6. /* Tests */
  7. int test__rdpmc(struct test *test __maybe_unused, int subtest);
  8. int test__perf_time_to_tsc(struct test *test __maybe_unused, int subtest);
  9. int test__insn_x86(struct test *test __maybe_unused, int subtest);
  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. extern struct test arch_tests[];
  17. #endif