diff mbox series

rt-tests: cyclictest.8: Remove reference to -n in --system in manpage

Message ID TYCP286MB19132EF284A2822EB8C64055A19E9@TYCP286MB1913.JPNP286.PROD.OUTLOOK.COM
State New
Headers show
Series rt-tests: cyclictest.8: Remove reference to -n in --system in manpage | expand

Commit Message

Oscar Shiang Nov. 21, 2021, 3:23 p.m. UTC
clock_nanosleep is default now.
There is no need to use -s with -n.

Signed-off-by: Oscar Shiang <oscar0225@livemail.tw>
---
 src/cyclictest/cyclictest.8 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

John Kacur Nov. 22, 2021, 4:06 a.m. UTC | #1
On Sun, 21 Nov 2021, Oscar Shiang wrote:

> clock_nanosleep is default now.
> There is no need to use -s with -n.
> 
> Signed-off-by: Oscar Shiang <oscar0225@livemail.tw>
> ---
>  src/cyclictest/cyclictest.8 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/cyclictest/cyclictest.8 b/src/cyclictest/cyclictest.8
> index dcae5b8..1cc72e6 100644
> --- a/src/cyclictest/cyclictest.8
> +++ b/src/cyclictest/cyclictest.8
> @@ -137,7 +137,7 @@ Check clock resolution, calling clock_gettime() many times. List of lock_gettime
>  align thread wakeups to the next full second and apply the optional offset.
>  .TP
>  .B \-s, \-\-system
> -Use sys_nanosleep and sys_setitimer instead of posix timers. Note, that \-s can only be used with one thread because itimers are per process and not per thread. \-s in combination with \-n uses the nanosleep syscall and is not restricted to one thread.
> +Use sys_nanosleep and sys_setitimer instead of posix timers. Note, that \-s can only be used with one thread because itimers are per process and not per thread. \-s uses the nanosleep syscall and is not restricted to one thread.
>  .TP
>  .B \\-S, \-\-smp
>  Set options for standard testing on SMP systems. Equivalent to using
> -- 
> 2.25.1
> 
> 
Signed-off-by: John Kacur <jkacur@redhat.com>
diff mbox series

Patch

diff --git a/src/cyclictest/cyclictest.8 b/src/cyclictest/cyclictest.8
index dcae5b8..1cc72e6 100644
--- a/src/cyclictest/cyclictest.8
+++ b/src/cyclictest/cyclictest.8
@@ -137,7 +137,7 @@  Check clock resolution, calling clock_gettime() many times. List of lock_gettime
 align thread wakeups to the next full second and apply the optional offset.
 .TP
 .B \-s, \-\-system
-Use sys_nanosleep and sys_setitimer instead of posix timers. Note, that \-s can only be used with one thread because itimers are per process and not per thread. \-s in combination with \-n uses the nanosleep syscall and is not restricted to one thread.
+Use sys_nanosleep and sys_setitimer instead of posix timers. Note, that \-s can only be used with one thread because itimers are per process and not per thread. \-s uses the nanosleep syscall and is not restricted to one thread.
 .TP
 .B \\-S, \-\-smp
 Set options for standard testing on SMP systems. Equivalent to using