Skip to contentSkip to conversation

perf python: Fix spelling mistake "metics" -> "metrics"

PATCH In review Colin Ian King 2 participants 2 messages Sep 4, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 perf python: Fix spelling mistake "metics" -> "metrics"

There is a spelling mistake in a Python doc string. Fix it.

---
 tools/perf/util/python.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/util/python.c +1 -1
index 47178404802f..779fe1280a56 100644
@@ -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",
Signature · 1 line
2.51.0
reviewer Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Colin Ian King

There is a spelling mistake in a Python doc string. Fix it.

Thanks Colin you are a star!

Fixes d0550be70f7a ("perf python: Add parse_metrics function")

Ian

Quoted 20 lines
---
 tools/perf/util/python.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/util/python.c +1 -2
index 47178404802f..779fe1280a56 100644
@@ -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