linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] perf test x86: Fix typo in intel-pt-test
@ 2024-10-07 19:47 Thomas Falcon
  2024-10-08 15:22 ` Adrian Hunter
  2024-10-09 17:55 ` Namhyung Kim
  0 siblings, 2 replies; 3+ messages in thread
From: Thomas Falcon @ 2024-10-07 19:47 UTC (permalink / raw)
  To: peterz, mingo, acme, namhyung, mark.rutland, alexander.shishkin,
	jolsa, irogers, adrian.hunter, kan.liang
  Cc: linux-perf-users, linux-kernel, Thomas Falcon

Change function name "is_hydrid" to "is_hybrid".

Signed-off-by: Thomas Falcon <thomas.falcon@intel.com>
---
 tools/perf/arch/x86/tests/intel-pt-test.c | 4 ++--
 1 file 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;
 	}
-- 
2.46.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] perf test x86: Fix typo in intel-pt-test
  2024-10-07 19:47 [PATCH] perf test x86: Fix typo in intel-pt-test Thomas Falcon
@ 2024-10-08 15:22 ` Adrian Hunter
  2024-10-09 17:55 ` Namhyung Kim
  1 sibling, 0 replies; 3+ messages in thread
From: Adrian Hunter @ 2024-10-08 15:22 UTC (permalink / raw)
  To: Thomas Falcon, peterz, mingo, acme, namhyung, mark.rutland,
	alexander.shishkin, jolsa, irogers, kan.liang
  Cc: linux-perf-users, linux-kernel

On 7/10/24 22:47, Thomas Falcon wrote:
> 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>

> ---
>  tools/perf/arch/x86/tests/intel-pt-test.c | 4 ++--
>  1 file 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;
>  	}


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] perf test x86: Fix typo in intel-pt-test
  2024-10-07 19:47 [PATCH] perf test x86: Fix typo in intel-pt-test Thomas Falcon
  2024-10-08 15:22 ` Adrian Hunter
@ 2024-10-09 17:55 ` Namhyung Kim
  1 sibling, 0 replies; 3+ messages in thread
From: Namhyung Kim @ 2024-10-09 17:55 UTC (permalink / raw)
  To: peterz, mingo, acme, mark.rutland, alexander.shishkin, jolsa,
	irogers, adrian.hunter, kan.liang, Thomas Falcon
  Cc: linux-perf-users, linux-kernel


On Mon, 07 Oct 2024 14:47:58 -0500, Thomas Falcon wrote:
> Change function name "is_hydrid" to "is_hybrid".
> 
> 

Applied to perf-tools-next, thanks!

[1/1] perf test x86: Fix typo in intel-pt-test
      commit: 9f759d41b3ed8feb550473027e674edf46ce7b94

Best regards,
Namhyung

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-10-09 17:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-07 19:47 [PATCH] perf test x86: Fix typo in intel-pt-test Thomas Falcon
2024-10-08 15:22 ` Adrian Hunter
2024-10-09 17:55 ` Namhyung Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).