summaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/perf-time-to-tsc.c
diff options
context:
space:
mode:
authorshaomin Deng <dengshaomin@cdjrlc.com>2022-08-07 09:47:53 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2022-08-12 21:42:55 +0200
commitf3c96bec7c6344ab30d6f01b97e3eba0b2fe4fd9 (patch)
treee44de5ffc076d8809ff4e19327c3cb9d8dc70cd9 /tools/perf/tests/perf-time-to-tsc.c
parentperf record: Improve error message of -p not_existing_pid (diff)
downloadlinux-f3c96bec7c6344ab30d6f01b97e3eba0b2fe4fd9.tar.xz
linux-f3c96bec7c6344ab30d6f01b97e3eba0b2fe4fd9.zip
perf test: Fix double word in comments
Delete the redundant word "then" in comments. Signed-off-by: shaomin Deng <dengshaomin@cdjrlc.com> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lore.kernel.org/lkml/20220807074753.7857-1-dengshaomin@cdjrlc.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to '')
-rw-r--r--tools/perf/tests/perf-time-to-tsc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/tests/perf-time-to-tsc.c b/tools/perf/tests/perf-time-to-tsc.c
index 26ce30a35191..c3aaa1ddff29 100644
--- a/tools/perf/tests/perf-time-to-tsc.c
+++ b/tools/perf/tests/perf-time-to-tsc.c
@@ -62,7 +62,7 @@ static int test__tsc_is_supported(struct test_suite *test __maybe_unused,
* This function implements a test that checks that the conversion of perf time
* to and from TSC is consistent with the order of events. If the test passes
* %0 is returned, otherwise %-1 is returned. If TSC conversion is not
- * supported then then the test passes but " (not supported)" is printed.
+ * supported then the test passes but " (not supported)" is printed.
*/
static int test__perf_time_to_tsc(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
{