Skip to contentSkip to conversation

cpupower: Remove absent 'v' parameter from monitor man page

PATCH Superseded Roman Storozhenko 2 participants 2 messages Jun 18, 2024 CPU power monitoring

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cpupower: Remove absent 'v' parameter from monitor man page

Remove not supported '-v' parameter from the cpupower's 'monitor' command description.

---
There is a '-v' parameter described in cpupower's 'monitor' command man page. It isn't supported at the moment, and perhaps has never been supported. When I run the monitor with this parameter I get the following:

$ sudo LD_LIBRARY_PATH=lib64/ bin/cpupower monitor -v
monitor: invalid option -- 'v'
invalid or unknown argument
$ sudo LD_LIBRARY_PATH=lib64/ bin/cpupower monitor -V
monitor: invalid option -- 'V'
invalid or unknown argument
---
 tools/power/cpupower/man/cpupower-monitor.1 | 5 -----
 1 file changed, 5 deletions(-)
tools/power/cpupower/man/cpupower-monitor.1 +0 -5
index 8ee737eefa5c..991f931cfc38 100644
@@ -81,11 +81,6 @@ Measure idle and frequency characteristics of an arbitrary command/workload.
 The executable \fBcommand\fP is forked and upon its exit, statistics gathered since it was
 forked are displayed.
 .RE
-.PP
-\-v
-.RS 4
-Increase verbosity if the binary was compiled with the DEBUG option set.
-.RE
 
 .SH MONITOR DESCRIPTIONS
 .SS "Idle_Stats"

---
base-commit: 0c52056d9f77508cb6d4d68d3fc91c6c08ec71af
change-id: 20240618-change-mon-format-30015761c58e

Best regards,

Signature · 1 line
Roman Storozhenko <[email protected]>
maintainer
#1 lore raw
Quoted 3 lines · Roman Storozhenko

Remove not supported '-v' parameter from the cpupower's 'monitor' command description.

Nice find.

Quoted 7 lines

---
There is a '-v' parameter described in cpupower's 'monitor' command man page. It isn't supported at the moment, and perhaps has never been supported. When I run the monitor with this parameter I get the following:

Quoted 6 lines
$ sudo LD_LIBRARY_PATH=lib64/ bin/cpupower monitor -v
monitor: invalid option -- 'v'
invalid or unknown argument
$ sudo LD_LIBRARY_PATH=lib64/ bin/cpupower monitor -V
monitor: invalid option -- 'V'
invalid or unknown argument

You are burying important information in throw away text. Please add all of the above text to commit log and send me v2.

thanks,
-- Shuah