arch-tests.c 509 B

123456789101112131415161718192021222324252627282930
  1. #include <string.h>
  2. #include "tests/tests.h"
  3. #include "arch-tests.h"
  4. struct test arch_tests[] = {
  5. {
  6. .desc = "x86 rdpmc test",
  7. .func = test__rdpmc,
  8. },
  9. {
  10. .desc = "Test converting perf time to TSC",
  11. .func = test__perf_time_to_tsc,
  12. },
  13. #ifdef HAVE_DWARF_UNWIND_SUPPORT
  14. {
  15. .desc = "Test dwarf unwind",
  16. .func = test__dwarf_unwind,
  17. },
  18. #endif
  19. #ifdef HAVE_AUXTRACE_SUPPORT
  20. {
  21. .desc = "Test x86 instruction decoder - new instructions",
  22. .func = test__insn_x86,
  23. },
  24. #endif
  25. {
  26. .func = NULL,
  27. },
  28. };