summaryrefslogtreecommitdiffstats
path: root/tools/perf
diff options
context:
space:
mode:
authorColin Ian King <colin.i.king@gmail.com>2023-10-27 09:46:33 +0100
committerNamhyung Kim <namhyung@kernel.org>2023-10-27 19:26:13 -0700
commitee40490dd7cdcda38ece6d081f63ecddd3fdbe25 (patch)
treeee8b693a70a942c3a63a5d4adf839c7cfcb30dd6 /tools/perf
parent0e0f03d7fc933ffe22c67feeec4b49bdd4cbfbd1 (diff)
downloadlinux-stable-ee40490dd7cdcda38ece6d081f63ecddd3fdbe25.tar.gz
linux-stable-ee40490dd7cdcda38ece6d081f63ecddd3fdbe25.tar.bz2
linux-stable-ee40490dd7cdcda38ece6d081f63ecddd3fdbe25.zip
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@gmail.com> Cc: kernel-janitors@vger.kernel.org Link: https://lore.kernel.org/r/20231027084633.1167530-1-colin.i.king@gmail.com Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf')
-rw-r--r--tools/perf/util/callchain.c4
1 files 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;
}
}