xref: /kernel/linux/linux-5.10/tools/perf/arch/x86/include/arch-tests.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/tools/perf/arch/x86/include/
18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci#ifndef ARCH_TESTS_H
38c2ecf20Sopenharmony_ci#define ARCH_TESTS_H
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci#include <linux/compiler.h>
68c2ecf20Sopenharmony_cistruct test;
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci/* Tests */
98c2ecf20Sopenharmony_ciint test__rdpmc(struct test *test __maybe_unused, int subtest);
108c2ecf20Sopenharmony_ciint test__perf_time_to_tsc(struct test *test __maybe_unused, int subtest);
118c2ecf20Sopenharmony_ciint test__insn_x86(struct test *test __maybe_unused, int subtest);
128c2ecf20Sopenharmony_ciint test__intel_pt_pkt_decoder(struct test *test, int subtest);
138c2ecf20Sopenharmony_ciint test__bp_modify(struct test *test, int subtest);
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ci#ifdef HAVE_DWARF_UNWIND_SUPPORT
168c2ecf20Sopenharmony_cistruct thread;
178c2ecf20Sopenharmony_cistruct perf_sample;
188c2ecf20Sopenharmony_ciint test__arch_unwind_sample(struct perf_sample *sample,
198c2ecf20Sopenharmony_ci			     struct thread *thread);
208c2ecf20Sopenharmony_ci#endif
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ciextern struct test arch_tests[];
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ci#endif
25

Indexes created Thu Nov 07 10:32:03 CST 2024