[PATCH 30/30] perf/core: fix typos in comments

Julia Lawall posted 30 patches 2 years, 6 months ago
[PATCH 30/30] perf/core: fix typos in comments
Posted by Julia Lawall 2 years, 6 months ago
Various spelling mistakes in comments.
Detected with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>

---
 kernel/events/core.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/events/core.c b/kernel/events/core.c
index cfde994ce61c..25fcd4cca0d7 100644
--- a/kernel/events/core.c
+++ b/kernel/events/core.c
@@ -872,7 +872,7 @@ static void perf_cgroup_switch(struct task_struct *task, int mode)
 			 * event_filter_match() to not have to pass
 			 * task around
 			 * we pass the cpuctx->ctx to perf_cgroup_from_task()
-			 * because cgorup events are only per-cpu
+			 * because cgroup events are only per-cpu
 			 */
 			cpuctx->cgrp = perf_cgroup_from_task(task,
 							     &cpuctx->ctx);
Re: [PATCH 30/30] perf/core: fix typos in comments
Posted by Ian Rogers 2 years, 6 months ago
On Mon, Mar 14, 2022 at 5:48 AM Julia Lawall <Julia.Lawall@inria.fr> wrote:
>
> Various spelling mistakes in comments.
> Detected with the help of Coccinelle.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>

Acked-by: Ian Rogers <irogers@google.com>

Thanks,
Ian

> ---
>  kernel/events/core.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/kernel/events/core.c b/kernel/events/core.c
> index cfde994ce61c..25fcd4cca0d7 100644
> --- a/kernel/events/core.c
> +++ b/kernel/events/core.c
> @@ -872,7 +872,7 @@ static void perf_cgroup_switch(struct task_struct *task, int mode)
>                          * event_filter_match() to not have to pass
>                          * task around
>                          * we pass the cpuctx->ctx to perf_cgroup_from_task()
> -                        * because cgorup events are only per-cpu
> +                        * because cgroup events are only per-cpu
>                          */
>                         cpuctx->cgrp = perf_cgroup_from_task(task,
>                                                              &cpuctx->ctx);
>