blob: c41c5affe4be7744c4404b273b0853348cfc69fa [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef ARCH_TESTS_H
3#define ARCH_TESTS_H
4
5#include <linux/compiler.h>
6struct test;
7
8/* Tests */
9int test__rdpmc(struct test *test __maybe_unused, int subtest);
10int test__perf_time_to_tsc(struct test *test __maybe_unused, int subtest);
11int test__insn_x86(struct test *test __maybe_unused, int subtest);
12int test__intel_pt_pkt_decoder(struct test *test, int subtest);
13int test__bp_modify(struct test *test, int subtest);
14
15#ifdef HAVE_DWARF_UNWIND_SUPPORT
16struct thread;
17struct perf_sample;
18int test__arch_unwind_sample(struct perf_sample *sample,
19 struct thread *thread);
20#endif
21
22extern struct test arch_tests[];
23
24#endif