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

From: Ian Rogers
Date: Thu Sep 04 2025 - 11:57:38 EST


On Thu, Sep 4, 2025 at 2:09 AM Colin Ian King <colin.i.king@xxxxxxxxx> wrote:
>
> There is a spelling mistake in a Python doc string. Fix it.
>
> Signed-off-by: Colin Ian King <colin.i.king@xxxxxxxxx>

Thanks Colin you are a star!

Reviewed-by: Ian Rogers <irogers@xxxxxxxxxx>
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
>