]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
perf test x86: Fix typo in intel-pt-test
authorThomas Falcon <thomas.falcon@intel.com>
Mon, 7 Oct 2024 19:47:58 +0000 (14:47 -0500)
committerNamhyung Kim <namhyung@kernel.org>
Wed, 9 Oct 2024 17:52:08 +0000 (10:52 -0700)
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>
tools/perf/arch/x86/tests/intel-pt-test.c

index 09d61fa736e36447bd1687b9d4dee94559d6923d..b217ed67cd4e526f2ded42f15c5d9bd6a06a1ff9 100644 (file)
@@ -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;
        }