]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - tools/perf/arch/x86/tests/arch-tests.c
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-bionic-kernel.git] / tools / perf / arch / x86 / tests / arch-tests.c
CommitLineData
b2441318 1// SPDX-License-Identifier: GPL-2.0
31b6753f
MF
2#include <string.h>
3#include "tests/tests.h"
4#include "arch-tests.h"
5
6struct test arch_tests[] = {
d8b167f9 7 {
030910c0 8 .desc = "x86 rdpmc",
d8b167f9
MF
9 .func = test__rdpmc,
10 },
11 {
030910c0 12 .desc = "Convert perf time to TSC",
d8b167f9
MF
13 .func = test__perf_time_to_tsc,
14 },
15#ifdef HAVE_DWARF_UNWIND_SUPPORT
16 {
030910c0 17 .desc = "DWARF unwind",
d8b167f9
MF
18 .func = test__dwarf_unwind,
19 },
20#endif
21#ifdef HAVE_AUXTRACE_SUPPORT
22 {
030910c0 23 .desc = "x86 instruction decoder - new instructions",
d8b167f9
MF
24 .func = test__insn_x86,
25 },
26#endif
035827e9 27 {
030910c0 28 .desc = "Intel cqm nmi context read",
035827e9
MF
29 .func = test__intel_cqm_count_nmi_context,
30 },
31b6753f
MF
31 {
32 .func = NULL,
33 },
34
35};