[PATCH][next] perf python: Fix spelling mistake "metics" -> "metrics"

Colin Ian King posted 1 patch 4 weeks ago
tools/perf/util/python.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH][next] perf python: Fix spelling mistake "metics" -> "metrics"
Posted by Colin Ian King 4 weeks ago
There is a spelling mistake in a Python doc string. Fix it.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
 tools/perf/util/python.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/util/python.c b/tools/perf/util/python.c
index 47178404802f..779fe1280a56 100644
--- a/tools/perf/util/python.c
+++ b/tools/perf/util/python.c
@@ -2187,7 +2187,7 @@ static PyMethodDef perf__methods[] = {
 		.ml_meth  = (PyCFunction) pyrf__parse_metrics,
 		.ml_flags = METH_VARARGS,
 		.ml_doc	  = PyDoc_STR(
-			"Parse a string of metics or metric groups and return an evlist.")
+			"Parse a string of metrics or metric groups and return an evlist.")
 	},
 	{
 		.ml_name  = "pmus",
-- 
2.51.0
Re: [PATCH][next] perf python: Fix spelling mistake "metics" -> "metrics"
Posted by Ian Rogers 4 weeks ago
On Thu, Sep 4, 2025 at 2:09 AM Colin Ian King <colin.i.king@gmail.com> wrote:
>
> There is a spelling mistake in a Python doc string. Fix it.
>
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>

Thanks Colin you are a star!

Reviewed-by: Ian Rogers <irogers@google.com>
Fixes: d0550be70f7a ("perf python: Add parse_metrics function")

Ian

> ---
>  tools/perf/util/python.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/perf/util/python.c b/tools/perf/util/python.c
> index 47178404802f..779fe1280a56 100644
> --- a/tools/perf/util/python.c
> +++ b/tools/perf/util/python.c
> @@ -2187,7 +2187,7 @@ static PyMethodDef perf__methods[] = {
>                 .ml_meth  = (PyCFunction) pyrf__parse_metrics,
>                 .ml_flags = METH_VARARGS,
>                 .ml_doc   = PyDoc_STR(
> -                       "Parse a string of metics or metric groups and return an evlist.")
> +                       "Parse a string of metrics or metric groups and return an evlist.")
>         },
>         {
>                 .ml_name  = "pmus",
> --
> 2.51.0
>