summaryrefslogtreecommitdiff
path: root/tools/perf/arch/x86/include/arch-tests.h
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2022-11-04 14:18:05 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2022-11-09 15:23:12 -0300
commit44a037f54b97e4215a282d39d0f7f28c588f185c (patch)
treec2ef998f8fb96fd42fadc492721f608c317872c0 /tools/perf/arch/x86/include/arch-tests.h
parent828143f8da2856014df3102f63f7e4e4dc2d1c22 (diff)
perf intel-pt: Add hybrid CPU compatibility test
The kernel driver assumes hybrid CPUs will have Intel PT capabilities that are compatible with the boot CPU. Add a test to check that is the case. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Acked-by: Namhyung Kim <namhyung@kernel.org> Cc: Ian Rogers <irogers@google.com> Cc: Jiri Olsa <jolsa@kernel.org> Link: https://lore.kernel.org/r/20221104121805.5264-4-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/arch/x86/include/arch-tests.h')
-rw-r--r--tools/perf/arch/x86/include/arch-tests.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/arch/x86/include/arch-tests.h b/tools/perf/arch/x86/include/arch-tests.h
index 6a1a1b3c0827..902e9ea9b99e 100644
--- a/tools/perf/arch/x86/include/arch-tests.h
+++ b/tools/perf/arch/x86/include/arch-tests.h
@@ -8,6 +8,7 @@ struct test_suite;
int test__rdpmc(struct test_suite *test, int subtest);
int test__insn_x86(struct test_suite *test, int subtest);
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__x86_sample_parsing(struct test_suite *test, int subtest);