arch-tests.c 614 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. // SPDX-License-Identifier: GPL-2.0
  2. #include <string.h>
  3. #include "tests/tests.h"
  4. #include "arch-tests.h"
  5. struct test arch_tests[] = {
  6. {
  7. .desc = "x86 rdpmc",
  8. .func = test__rdpmc,
  9. },
  10. {
  11. .desc = "Convert perf time to TSC",
  12. .func = test__perf_time_to_tsc,
  13. },
  14. #ifdef HAVE_DWARF_UNWIND_SUPPORT
  15. {
  16. .desc = "DWARF unwind",
  17. .func = test__dwarf_unwind,
  18. },
  19. #endif
  20. #ifdef HAVE_AUXTRACE_SUPPORT
  21. {
  22. .desc = "x86 instruction decoder - new instructions",
  23. .func = test__insn_x86,
  24. },
  25. #endif
  26. #if defined(__x86_64__)
  27. {
  28. .desc = "x86 bp modify",
  29. .func = test__bp_modify,
  30. },
  31. #endif
  32. {
  33. .func = NULL,
  34. },
  35. };