arch-tests.c 606 B

1234567891011121314151617181920212223242526272829303132333435
  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. .desc = "Test intel cqm nmi context read",
  27. .func = test__intel_cqm_count_nmi_context,
  28. },
  29. {
  30. .func = NULL,
  31. },
  32. };