summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Falcon <thomas.falcon@intel.com>2024-10-07 14:47:58 -0500
committerNamhyung Kim <namhyung@kernel.org>2024-10-09 10:52:08 -0700
commit9f759d41b3ed8feb550473027e674edf46ce7b94 (patch)
tree41042d933a95588e38e600c9fabcc7174d5bb495
parent3c4e558787f233044052ffd255a44ff7127952ce (diff)
downloadlwn-9f759d41b3ed8feb550473027e674edf46ce7b94.tar.gz
lwn-9f759d41b3ed8feb550473027e674edf46ce7b94.zip
perf test x86: Fix typo in intel-pt-test
Change function name "is_hydrid" to "is_hybrid". Signed-off-by: Thomas Falcon <thomas.falcon@intel.com> Reviewed-by: Adrian Hunter <adrian.hunter@intel.com> Link: https://lore.kernel.org/r/20241007194758.78659-1-thomas.falcon@intel.com Signed-off-by: Namhyung Kim <namhyung@kernel.org>
-rw-r--r--tools/perf/arch/x86/tests/intel-pt-test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/arch/x86/tests/intel-pt-test.c b/tools/perf/arch/x86/tests/intel-pt-test.c
index 09d61fa736e3..b217ed67cd4e 100644
--- a/tools/perf/arch/x86/tests/intel-pt-test.c
+++ b/tools/perf/arch/x86/tests/intel-pt-test.c
@@ -375,7 +375,7 @@ static int get_pt_caps(int cpu, struct pt_caps *caps)
return 0;
}
-static bool is_hydrid(void)
+static bool is_hybrid(void)
{
unsigned int eax, ebx, ecx, edx = 0;
bool result;
@@ -441,7 +441,7 @@ int test__intel_pt_hybrid_compat(struct test_suite *test, int subtest)
int ret = TEST_OK;
int cpu;
- if (!is_hydrid()) {
+ if (!is_hybrid()) {
test->test_cases[subtest].skip_reason = "not hybrid";
return TEST_SKIP;
}