mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

test__x86_sample_parsing is identical to test__sample_parsing except it explicitly tested PERF_SAMPLE_WEIGHT_STRUCT. Now the parsing code is common move the PERF_SAMPLE_WEIGHT_STRUCT to the common sample parsing test and remove the x86 version. Signed-off-by: Ian Rogers <irogers@google.com> Link: https://lore.kernel.org/r/20250724163302.596743-22-irogers@google.com Signed-off-by: Namhyung Kim <namhyung@kernel.org>
25 lines
753 B
C
25 lines
753 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef ARCH_TESTS_H
|
|
#define ARCH_TESTS_H
|
|
|
|
#include "tests/tests.h"
|
|
|
|
struct test_suite;
|
|
|
|
/* Tests */
|
|
int test__rdpmc(struct test_suite *test, int subtest);
|
|
#ifdef HAVE_EXTRA_TESTS
|
|
int test__insn_x86(struct test_suite *test, int subtest);
|
|
#endif
|
|
int test__intel_pt_pkt_decoder(struct test_suite *test, int subtest);
|
|
int test__intel_pt_hybrid_compat(struct test_suite *test, int subtest);
|
|
int test__bp_modify(struct test_suite *test, int subtest);
|
|
int test__amd_ibs_via_core_pmu(struct test_suite *test, int subtest);
|
|
int test__amd_ibs_period(struct test_suite *test, int subtest);
|
|
int test__hybrid(struct test_suite *test, int subtest);
|
|
|
|
DECLARE_SUITE(x86_topdown);
|
|
|
|
extern struct test_suite *arch_tests[];
|
|
|
|
#endif
|