tools/perf/util/python.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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
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
>
© 2016 - 2026 Red Hat, Inc.