[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20231027084633.1167530-1-colin.i.king@gmail.com>
Date: Fri, 27 Oct 2023 09:46:33 +0100
From: Colin Ian King <colin.i.king@...il.com>
To: Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Jiri Olsa <jolsa@...nel.org>, Ian Rogers <irogers@...gle.com>,
Adrian Hunter <adrian.hunter@...el.com>,
linux-perf-users@...r.kernel.org
Cc: kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH][next] perf callchain: Fix spelling mistake "statisitcs" -> "statistics"
There are a couple of spelling mistakes in perror messages. Fix them.
Signed-off-by: Colin Ian King <colin.i.king@...il.com>
---
tools/perf/util/callchain.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/perf/util/callchain.c b/tools/perf/util/callchain.c
index 99cce43ba152..8262f69118db 100644
--- a/tools/perf/util/callchain.c
+++ b/tools/perf/util/callchain.c
@@ -605,7 +605,7 @@ fill_node(struct callchain_node *node, struct callchain_cursor *cursor)
if (!call->brtype_stat) {
call->brtype_stat = zalloc(sizeof(*call->brtype_stat));
if (!call->brtype_stat) {
- perror("not enough memory for the code path branch statisitcs");
+ perror("not enough memory for the code path branch statistics");
free(call->brtype_stat);
return -ENOMEM;
}
@@ -774,7 +774,7 @@ static enum match_result match_chain(struct callchain_cursor_node *node,
if (!cnode->brtype_stat) {
cnode->brtype_stat = zalloc(sizeof(*cnode->brtype_stat));
if (!cnode->brtype_stat) {
- perror("not enough memory for the code path branch statisitcs");
+ perror("not enough memory for the code path branch statistics");
return MATCH_ERROR;
}
}
--
2.39.2
Powered by blists - more mailing lists