Commit ee40490d authored by Colin Ian King's avatar Colin Ian King Committed by Namhyung Kim

perf callchain: Fix spelling mistake "statisitcs" -> "statistics"

There are a couple of spelling mistakes in perror messages. Fix them.
Signed-off-by: default avatarColin 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.comSigned-off-by: default avatarNamhyung Kim <namhyung@kernel.org>
parent 0e0f03d7
......@@ -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;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment