diff options
author | John Kacur <jkacur@redhat.com> | 2021-11-10 15:58:44 -0500 |
---|---|---|
committer | John Kacur <jkacur@redhat.com> | 2021-11-10 15:58:44 -0500 |
commit | 532739e58bc36df820a1742489c744e7589221d0 (patch) | |
tree | 2256e90cf17c274cb3e3daa957bcd1124ad6669e | |
parent | 43b434867514934593ada5aa8ea448ef6a1778f9 (diff) | |
download | tuna-532739e58bc36df820a1742489c744e7589221d0.tar.gz |
tuna: Make it clear that include and isolate affects IRQs in help
Make it clear in the online help (-h) and in the manpage
that
-i --isolate
-I --include
affects IRQs as well as threads
Signed-off-by: John Kacur <jkacur@redhat.com>
-rw-r--r-- | docs/tuna.8 | 4 | ||||
-rwxr-xr-x | tuna-cmd.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/tuna.8 b/docs/tuna.8 index b6431be..bd6299b 100644 --- a/docs/tuna.8 +++ b/docs/tuna.8 @@ -26,10 +26,10 @@ Apply changes described in profile List preloaded profiles .TP \fB\-i\fR, \fB\-\-isolate\fR -Move all threads away from CPU\-LIST. Requires \fB\-c\fR or \fB-S\fR. +Move all allowed threads and IRQs away from CPU\-LIST. Requires \fB\-c\fR or \fB-S\fR. .TP \fB\-I\fR, \fB\-\-include\fR -Allow all threads to run on CPU\-LIST. Requires \fB\-c\fR or \fB-S\fR. +Allow all allowed threads and IRQs to run on CPU\-LIST. Requires \fB\-c\fR or \fB-S\fR. .TP \fB\-m\fR, \fB\-\-move\fR Move selected entities to CPU\-LIST. Requires \fB\-c\fR and either \fB-t\fR or \fB-q\fR. diff --git a/tuna-cmd.py b/tuna-cmd.py index 46ce86e..d209a2e 100755 --- a/tuna-cmd.py +++ b/tuna-cmd.py @@ -63,9 +63,9 @@ def usage(): _('Explicitly disable usage of perf in GUI for process view'))) print(fmt % ('-f, --filter', _('Display filter the selected entities'))) - print(fmt % ('-i, --isolate', _('Move all threads away from %(cpulist)s') % + print(fmt % ('-i, --isolate', _('Move all allowed threads and IRQs away from %(cpulist)s') % {"cpulist": _('CPU-LIST')})) - print(fmt % ('-I, --include', _('Allow all threads to run on %(cpulist)s') % + print(fmt % ('-I, --include', _('Allow all allowed threads and IRQs to run on %(cpulist)s') % {"cpulist": _('CPU-LIST')})) print(fmt % ('-K, --no_kthreads', _('Operations will not affect kernel threads'))) |