summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshaomin Deng <dengshaomin@cdjrlc.com>2022-08-07 18:55:49 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2022-08-12 22:45:24 +0300
commit987f5cbd2f3f3300c3f681130b5c67661efa53a5 (patch)
tree1acc2c9387bc630f77e3dd1feeaf3810f27d4cf8
parent632f5c224e95ce6846724a0720f7e7ef704fb858 (diff)
downloadlinux-987f5cbd2f3f3300c3f681130b5c67661efa53a5.tar.xz
perf tools: Fix double word in comments
Delete the repeated word "to" in comments. Signed-off-by: shaomin Deng <dengshaomin@cdjrlc.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lore.kernel.org/lkml/20220807155549.30953-1-dengshaomin@cdjrlc.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r--tools/perf/util/events_stats.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/events_stats.h b/tools/perf/util/events_stats.h
index 1b0006092265..040ab9d0a803 100644
--- a/tools/perf/util/events_stats.h
+++ b/tools/perf/util/events_stats.h
@@ -22,7 +22,7 @@
*
* The total_period is needed because by default auto-freq is used, so
* multiplying nr_events[PERF_EVENT_SAMPLE] by a frequency isn't possible to get
- * the total number of low level events, it is necessary to to sum all struct
+ * the total number of low level events, it is necessary to sum all struct
* perf_record_sample.period and stash the result in total_period.
*/
struct events_stats {