Skip to content

Commit ee40490

Browse files
ColinIanKingnamhyung
authored andcommitted
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>
1 parent 0e0f03d commit ee40490

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/perf/util/callchain.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ fill_node(struct callchain_node *node, struct callchain_cursor *cursor)
605605
if (!call->brtype_stat) {
606606
call->brtype_stat = zalloc(sizeof(*call->brtype_stat));
607607
if (!call->brtype_stat) {
608-
perror("not enough memory for the code path branch statisitcs");
608+
perror("not enough memory for the code path branch statistics");
609609
free(call->brtype_stat);
610610
return -ENOMEM;
611611
}
@@ -774,7 +774,7 @@ static enum match_result match_chain(struct callchain_cursor_node *node,
774774
if (!cnode->brtype_stat) {
775775
cnode->brtype_stat = zalloc(sizeof(*cnode->brtype_stat));
776776
if (!cnode->brtype_stat) {
777-
perror("not enough memory for the code path branch statisitcs");
777+
perror("not enough memory for the code path branch statistics");
778778
return MATCH_ERROR;
779779
}
780780
}

0 commit comments

Comments
 (0)