2015-10-05 22:40:19 +08:00
|
|
|
#include <string.h>
|
|
|
|
#include "tests/tests.h"
|
|
|
|
#include "arch-tests.h"
|
|
|
|
|
|
|
|
struct test arch_tests[] = {
|
2015-10-05 22:40:20 +08:00
|
|
|
{
|
2016-11-29 23:38:14 +08:00
|
|
|
.desc = "x86 rdpmc",
|
2015-10-05 22:40:20 +08:00
|
|
|
.func = test__rdpmc,
|
|
|
|
},
|
|
|
|
{
|
2016-11-29 23:38:14 +08:00
|
|
|
.desc = "Convert perf time to TSC",
|
2015-10-05 22:40:20 +08:00
|
|
|
.func = test__perf_time_to_tsc,
|
|
|
|
},
|
|
|
|
#ifdef HAVE_DWARF_UNWIND_SUPPORT
|
|
|
|
{
|
2016-11-29 23:38:14 +08:00
|
|
|
.desc = "DWARF unwind",
|
2015-10-05 22:40:20 +08:00
|
|
|
.func = test__dwarf_unwind,
|
|
|
|
},
|
|
|
|
#endif
|
|
|
|
#ifdef HAVE_AUXTRACE_SUPPORT
|
|
|
|
{
|
2016-11-29 23:38:14 +08:00
|
|
|
.desc = "x86 instruction decoder - new instructions",
|
2015-10-05 22:40:20 +08:00
|
|
|
.func = test__insn_x86,
|
|
|
|
},
|
|
|
|
#endif
|
2015-10-05 22:40:21 +08:00
|
|
|
{
|
2016-11-29 23:38:14 +08:00
|
|
|
.desc = "Intel cqm nmi context read",
|
2015-10-05 22:40:21 +08:00
|
|
|
.func = test__intel_cqm_count_nmi_context,
|
|
|
|
},
|
2015-10-05 22:40:19 +08:00
|
|
|
{
|
|
|
|
.func = NULL,
|
|
|
|
},
|
|
|
|
|
|
|
|
};
|