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