2021-07-12 09:09:52

by Colin King

[permalink] [raw]
Subject: [PATCH][next] perf tools: Fix spelling mistake "falied" -> "failed"

From: Colin Ian King <[email protected]>

There is a spelling mistake in a pr_err error message. Fix it.

Signed-off-by: Colin Ian King <[email protected]>
---
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 89aa5e71db1a..4139b4deee77 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.31.1