arch-tests.h 602 B

1234567891011121314151617181920212223
  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. int test__bp_modify(struct test *test, int subtest);
  11. #ifdef HAVE_DWARF_UNWIND_SUPPORT
  12. struct thread;
  13. struct perf_sample;
  14. int test__arch_unwind_sample(struct perf_sample *sample,
  15. struct thread *thread);
  16. #endif
  17. extern struct test arch_tests[];
  18. #endif