diff options
author | John Kacur <jkacur@redhat.com> | 2021-06-16 19:04:48 -0400 |
---|---|---|
committer | John Kacur <jkacur@redhat.com> | 2021-06-17 09:02:58 -0400 |
commit | e333004376f7ea07f01d29b17bd11432bcd81639 (patch) | |
tree | 4c729a21ae408499953753241140f183812fc27d | |
parent | fe60405ed338d2ebb01b1046e57a61875367ed61 (diff) | |
download | rt-tests-unstable/devel/latest.tar.gz |
rt-tests: cyclictest: Add entry for mainaffinity in the manpageunstable/devel/latest
Add an entry for mainaffinity in the manpage.
Tweek the output in cyclictest for mainaffinity as well.
Signed-off-by: John Kacur <jkacur@redhat.com>
Reviewed-by: Daniel Wagner <dwagner@suse.de>
-rw-r--r-- | src/cyclictest/cyclictest.8 | 3 | ||||
-rw-r--r-- | src/cyclictest/cyclictest.c | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/cyclictest/cyclictest.8 b/src/cyclictest/cyclictest.8 index 4fe42e5..abc56e8 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 +.TP .B \-m, \-\-mlockall Lock current and future memory allocations to prevent being paged out .TP diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c index 3477cd1..be8285a 100644 --- a/src/cyclictest/cyclictest.c +++ b/src/cyclictest/cyclictest.c @@ -837,7 +837,8 @@ static void display_help(int error) " --laptop Save battery when running cyclictest\n" " This will give you poorer realtime results\n" " but will not drain your battery so quickly\n" - " --mainaffinity=[CPUSET] Run the main thread on CPU #N. This only affects\n" + " --mainaffinity=CPUSET\n" + " Run the main thread on CPU #N. This only affects\n" " the main thread and not the measurement threads\n" "-m --mlockall lock current and future memory allocations\n" "-M --refresh_on_max delay updating the screen until a new max\n" |