Skip to contentSkip to conversation

perf bpf: Fix a typo in bpf_counter_cgroup.c

PATCH Applied Masanari Iida 3 participants 3 messages Dec 25, 2021 – Feb 6, 2022 perf events

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 perf bpf: Fix a typo in bpf_counter_cgroup.c

This patch fixes a spelling typo in error message.

---
 tools/perf/util/bpf_counter_cgroup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/util/bpf_counter_cgroup.c +1 -1
index cbc6c2bca488..fea5f2ca03f6 100644
@@ -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;
 		}
Signature · 1 line
2.25.0
maintainer Acked-by on v1 1/1
#1 lore raw

Hello,

Quoted 4 lines · Masanari Iida

This patch fixes a spelling typo in error message.

Thanks,
Namhyung

Quoted 20 lines
---
 tools/perf/util/bpf_counter_cgroup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/util/bpf_counter_cgroup.c +1 -2
index cbc6c2bca488..fea5f2ca03f6 100644
@@ -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

maintainer Applied
#2 lore raw

Em Tue, Dec 28, 2021 at 10:25:08AM -0800, Namhyung Kim escreveu:

Quoted 4 lines

Hello,

Quoted 1 line · Masanari Iida
Quoted 8 lines
Quoted 3 lines

This patch fixes a spelling typo in error message.

Thanks,
Namhyung

Thanks, applied.

- Arnaldo

Quoted 21 lines
Quoted 21 lines
---
 tools/perf/util/bpf_counter_cgroup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/util/bpf_counter_cgroup.c +1 -2
index cbc6c2bca488..fea5f2ca03f6 100644
@@ -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

Signature · 1 line
- Arnaldo