lkml.org 
[lkml]   [2021]   [Dec]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] perf bpf: Fix a typo in bpf_counter_cgroup.c
Hello,

On Fri, Dec 24, 2021 at 4:57 PM Masanari Iida <standby24x7@gmail.com> wrote:
>
> This patch fixes a spelling typo in error message.
>
> Signed-off-by: Masanari Iida <standby24x7@gmail.com>

Acked-by: Namhyung Kim <namhyung@kernel.org>

Thanks,
Namhyung


> ---
> tools/perf/util/bpf_counter_cgroup.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/perf/util/bpf_counter_cgroup.c b/tools/perf/util/bpf_counter_cgroup.c
> index cbc6c2bca488..fea5f2ca03f6 100644
> --- a/tools/perf/util/bpf_counter_cgroup.c
> +++ b/tools/perf/util/bpf_counter_cgroup.c
> @@ -266,7 +266,7 @@ static int bperf_cgrp__read(struct evsel *evsel)
> idx = evsel->core.idx;
> err = bpf_map_lookup_elem(reading_map_fd, &idx, values);
> if (err) {
> - pr_err("bpf map lookup falied: idx=%u, event=%s, cgrp=%s\n",
> + pr_err("bpf map lookup failed: idx=%u, event=%s, cgrp=%s\n",
> idx, evsel__name(evsel), evsel->cgrp->name);
> goto out;
> }
> --
> 2.25.0
>

\
 
 \ /
  Last update: 2021-12-28 19:26    [W:0.045 / U:1.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site