| 1 |
/* SPDX-License-Identifier: GPL-2.0 */ |
| 2 |
#ifndef ARCH_TESTS_H |
| 3 |
#define ARCH_TESTS_H |
| 4 |
|
| 5 |
#include "tests/tests.h" |
| 6 |
|
| 7 |
struct test_suite; |
| 8 |
|
| 9 |
/* Tests */ |
| 10 |
int test__rdpmc(struct test_suite *test, int subtest); |
| 11 |
#ifdef HAVE_EXTRA_TESTS |
| 12 |
int test__insn_x86(struct test_suite *test, int subtest); |
| 13 |
#endif |
| 14 |
int test__intel_pt_pkt_decoder(struct test_suite *test, int subtest); |
| 15 |
int test__intel_pt_hybrid_compat(struct test_suite *test, int subtest); |
| 16 |
int test__bp_modify(struct test_suite *test, int subtest); |
| 17 |
int test__amd_ibs_via_core_pmu(struct test_suite *test, int subtest); |
| 18 |
int test__amd_ibs_period(struct test_suite *test, int subtest); |
| 19 |
int test__hybrid(struct test_suite *test, int subtest); |
| 20 |
|
| 21 |
DECLARE_SUITE(x86_topdown); |
| 22 |
|
| 23 |
extern struct test_suite *arch_tests[]; |
| 24 |
|
| 25 |
#endif |