perf callchain: Fix spelling mistake "statisitcs" -> "statistics"
authorColin Ian King <colin.i.king@gmail.com>
Fri, 27 Oct 2023 08:46:33 +0000 (09:46 +0100)
committerNamhyung Kim <namhyung@kernel.org>
Sat, 28 Oct 2023 02:26:13 +0000 (19:26 -0700)
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>
tools/perf/util/callchain.c

index 99cce43ba152bca434210d49dce5c810d83aac99..8262f69118dbbd6ee13ad32855886a49d23f4ab6 100644 (file)
@@ -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;
                                }
                        }