Re: [PATCH v1 19/28] cyclictest.8: Group thread priority options

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Fri, 4 Jul 2025, Ahmed S. Darwish wrote:

> The number and breadth of cyclictest's options is huge, and just
> exploring them in sequence can get the manpage reader lost.
> 
> Put the cyclictest's thread priority options:
> 
>        --policy=NAME
>        -p, --prio=PRIO
>        --priospread
> 
> into their own group.  Adjust the Synopsis accordingly as well.
> 
> Further groupings will be added next.
> 
> Signed-off-by: Ahmed S. Darwish <darwi@xxxxxxxxxxxxx>
> ---
>  src/cyclictest/cyclictest.8 | 25 +++++--------------------
>  1 file changed, 5 insertions(+), 20 deletions(-)
> 
> diff --git a/src/cyclictest/cyclictest.8 b/src/cyclictest/cyclictest.8
> index a099416..90a3e08 100644
> --- a/src/cyclictest/cyclictest.8
> +++ b/src/cyclictest/cyclictest.8
> @@ -30,6 +30,11 @@ cyclictest \- High resolution test program
>  .IR proc-set ]
>  .RB [ \-a\~\c
>  .IR proc\-set ]
> +.RB [ \-\-policy\~\c
> +.IR threads\-sched\-policy ]
> +.RB [ \-p\~\c
> +.IR thread\-prio ]
> +.RB [ \-\-priospread ]
>  .RB [ \-b\~\c
>  .IR break\-usec ]
>  .RB [ \-D\~\c
> @@ -44,20 +49,15 @@ cyclictest \- High resolution test program
>  .IR num\-loops ]
>  .RB [ \-o\~\c
>  .IR oscope\-red ]
> -.RB [ \-p\~\c
> -.IR thread\-prio ]
>  .RB [ \-\-histfile\~\c
>  .IR file\-path ]
>  .RB [ \-\-json\~\c
>  .IR file\-path ]
> -.RB [ \-\-policy\~\c
> -.IR threads\-sched\-policy ]
>  .RB [ \-\-spike\~\c
>  .IR trigger\-point-usec ]
>  .RB [ \-\-spike\-nodes\~\c
>  .IR num\-nodes ]
>  .RB [ \-\-dbg_cyclictest ]
> -.RB [ \-\-priospread ]
>  .RB [ \-\-smi ]
>  .RB [ \-\-tracemark ]
>  .YS
> @@ -243,21 +243,6 @@ unit.
>  Oscilloscope mode, reduce verbose output by RED.
>  .
>  .TP
> -.B \-p, \-\-prio=PRIO
> -Set the priority of the first thread. The given priority is set to the
> -first test thread. Each further thread gets a lower priority:
> -Priority(Thread N) = max(Priority(Thread N\-1) \- 1, 0)
> -.
> -.TP
> -.B \-\-policy=NAME
> -set the scheduler policy of the measurement threads where NAME is one of:
> -other, normal, batch, idle, fifo, rr
> -.
> -.TP
> -.B \-\-priospread
> -spread priority levels starting at a specified value
> -.
> -.TP
>  .B \-q, \-\-quiet
>  Print a summary only on exit. Useful for automated tests, where only the
>  summary output needs to be captured.
> -- 
> 2.49.0
> 
> 
> 
Signed-off-by: John Kacur <jkacur@xxxxxxxxxx>





[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux