On Thu, 17 Jun 2021, Daniel Wagner wrote: > Hi John, > > On Wed, Jun 16, 2021 at 07:18:00PM -0400, John Kacur wrote: > > Add an entry for mainaffinity in the manpage. > > Tweek the output in cyclictest for mainaffinity as well. > > > > Signed-off-by: John Kacur <jkacur@xxxxxxxxxx> > > --- > > src/cyclictest/cyclictest.8 | 3 +++ > > src/cyclictest/cyclictest.c | 3 ++- > > 2 files changed, 5 insertions(+), 1 deletion(-) > > > > diff --git a/src/cyclictest/cyclictest.8 b/src/cyclictest/cyclictest.8 > > index 4fe42e502535..abc56e8e4970 100644 > > --- a/src/cyclictest/cyclictest.8 > > +++ b/src/cyclictest/cyclictest.8 > > @@ -94,6 +94,9 @@ Set the number of loops. The default is 0 (endless). This option is useful for a > > .B \-\-laptop > > Save battery when running cyclictest. This will give you poorer realtime results, but will not drain your battery so quickly. > > .TP > > +.B \-\-mainaffinity=CPUSET > > +Run the main thread on CPU #N. This only affects the main thread and not the measurement threads > > Nitpick: the .RI section is missing the --mainaffinity. The Synopsis section doesn't have to be exhaustive, it just has to show typical usage. However, that section is crufty and could use some love. For example, while we have the long version --policy, the short version -y no longer exists but is mentioned there. Have a go at it if you're bored. John > > Reviewed-by: Daniel Wagner <dwagner@xxxxxxx> >