linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH][next] perf callchain: Fix spelling mistake "statisitcs" -> "statistics"
@ 2023-10-27  8:46 Colin Ian King
  2023-10-30 18:59 ` Namhyung Kim
  0 siblings, 1 reply; 2+ messages in thread
From: Colin Ian King @ 2023-10-27  8:46 UTC (permalink / raw)
  To: Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo,
	Mark Rutland, Alexander Shishkin, Jiri Olsa, Ian Rogers,
	Adrian Hunter, linux-perf-users
  Cc: kernel-janitors, linux-kernel

There are a couple of spelling mistakes in perror messages. Fix them.

Signed-off-by: Colin Ian King <colin.i.king@gmail.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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH][next] perf callchain: Fix spelling mistake "statisitcs" -> "statistics"
  2023-10-27  8:46 [PATCH][next] perf callchain: Fix spelling mistake "statisitcs" -> "statistics" Colin Ian King
@ 2023-10-30 18:59 ` Namhyung Kim
  0 siblings, 0 replies; 2+ messages in thread
From: Namhyung Kim @ 2023-10-30 18:59 UTC (permalink / raw)
  To: Ian Rogers, linux-perf-users, Alexander Shishkin, Mark Rutland,
	Colin Ian King, Peter Zijlstra, Ingo Molnar,
	Arnaldo Carvalho de Melo, Jiri Olsa, Adrian Hunter
  Cc: kernel-janitors, linux-kernel

On Fri, 27 Oct 2023 09:46:33 +0100, Colin Ian King wrote:
> There are a couple of spelling mistakes in perror messages. Fix them.
> 
> 

Applied to perf-tools-next, thanks!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-10-30 18:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-27  8:46 [PATCH][next] perf callchain: Fix spelling mistake "statisitcs" -> "statistics" Colin Ian King
2023-10-30 18:59 ` Namhyung Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).