public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/4] cpupower-frequency-info.1: fix long option name
@ 2026-03-11 19:20 Roberto Ricci
  2026-03-11 20:42 ` Shuah Khan
  0 siblings, 1 reply; 3+ messages in thread
From: Roberto Ricci @ 2026-03-11 19:20 UTC (permalink / raw)
  To: Thomas Renninger, Shuah Khan, John B. Wyatt IV, John Kacur,
	linux-pm, linux-kernel

The long version of the option is --performance, not --perf.

Signed-off-by: Roberto Ricci <io@r-ricci.it>
---
 tools/power/cpupower/man/cpupower-frequency-info.1 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/power/cpupower/man/cpupower-frequency-info.1 b/tools/power/cpupower/man/cpupower-frequency-info.1
index 47fdd7218748..1173d4f31e69 100644
--- a/tools/power/cpupower/man/cpupower-frequency-info.1
+++ b/tools/power/cpupower/man/cpupower-frequency-info.1
@@ -53,7 +53,7 @@ human\-readable output for the \-f, \-w, \-s and \-y parameters.
 \fB\-n\fR \fB\-\-no-rounding\fR
 Output frequencies and latencies without rounding off values.
 .TP  
-\fB\-c\fR \fB\-\-perf\fR
+\fB\-c\fR \fB\-\-performance\fR
 Get performances and frequencies capabilities of CPPC, by reading it from hardware (only available on the hardware with CPPC).
 .TP
 .SH "REMARKS"
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 2/4] cpupower-frequency-info.1: fix long option name
  2026-03-11 19:20 [PATCH 2/4] cpupower-frequency-info.1: fix long option name Roberto Ricci
@ 2026-03-11 20:42 ` Shuah Khan
  2026-03-11 23:39   ` [PATCH v2 2/4] cpupower-frequency-info.1: use proper name of --perf option Roberto Ricci
  0 siblings, 1 reply; 3+ messages in thread
From: Shuah Khan @ 2026-03-11 20:42 UTC (permalink / raw)
  To: Roberto Ricci, Thomas Renninger, Shuah Khan, John B. Wyatt IV,
	John Kacur, linux-pm, linux-kernel, Shuah Khan

On 3/11/26 13:20, Roberto Ricci wrote:
> The long version of the option is --performance, not --perf.

Okay - I need more than this than the cryptic change log
Include options running the command

> 
> Signed-off-by: Roberto Ricci <io@r-ricci.it>
> ---
>   tools/power/cpupower/man/cpupower-frequency-info.1 | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/power/cpupower/man/cpupower-frequency-info.1 b/tools/power/cpupower/man/cpupower-frequency-info.1
> index 47fdd7218748..1173d4f31e69 100644
> --- a/tools/power/cpupower/man/cpupower-frequency-info.1
> +++ b/tools/power/cpupower/man/cpupower-frequency-info.1
> @@ -53,7 +53,7 @@ human\-readable output for the \-f, \-w, \-s and \-y parameters.
>   \fB\-n\fR \fB\-\-no-rounding\fR
>   Output frequencies and latencies without rounding off values.
>   .TP
> -\fB\-c\fR \fB\-\-perf\fR
> +\fB\-c\fR \fB\-\-performance\fR
>   Get performances and frequencies capabilities of CPPC, by reading it from hardware (only available on the hardware with CPPC).
>   .TP
>   .SH "REMARKS"

thanks,
-- Shuah

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v2 2/4] cpupower-frequency-info.1: use proper name of --perf option
  2026-03-11 20:42 ` Shuah Khan
@ 2026-03-11 23:39   ` Roberto Ricci
  0 siblings, 0 replies; 3+ messages in thread
From: Roberto Ricci @ 2026-03-11 23:39 UTC (permalink / raw)
  To: Shuah Khan
  Cc: Thomas Renninger, John B. Wyatt IV, John Kacur, linux-pm,
	linux-kernel

The cpupower-frequency-info(1) man page describes a '--perf' option.
Even though this form is accepted by the program, its proper name is
'--performance'.

cpufreq-info.c:
	{"performance", no_argument,	 NULL,	 'c'},

Fixes 8382dce5e4835c045f33b8958a5f559d212cdd11 ("cpupower: Add "perf" option to print AMD P-State information")

Signed-off-by: Roberto Ricci <io@r-ricci.it>
---
v1 -> v2: improved changelog
v1: https://lore.kernel.org/all/abHAdH-ggaxUugCy@desktop0a/

 tools/power/cpupower/man/cpupower-frequency-info.1 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/power/cpupower/man/cpupower-frequency-info.1 b/tools/power/cpupower/man/cpupower-frequency-info.1
index 47fdd7218748..1173d4f31e69 100644
--- a/tools/power/cpupower/man/cpupower-frequency-info.1
+++ b/tools/power/cpupower/man/cpupower-frequency-info.1
@@ -53,7 +53,7 @@ human\-readable output for the \-f, \-w, \-s and \-y parameters.
 \fB\-n\fR \fB\-\-no-rounding\fR
 Output frequencies and latencies without rounding off values.
 .TP  
-\fB\-c\fR \fB\-\-perf\fR
+\fB\-c\fR \fB\-\-performance\fR
 Get performances and frequencies capabilities of CPPC, by reading it from hardware (only available on the hardware with CPPC).
 .TP
 .SH "REMARKS"
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-03-11 23:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-11 19:20 [PATCH 2/4] cpupower-frequency-info.1: fix long option name Roberto Ricci
2026-03-11 20:42 ` Shuah Khan
2026-03-11 23:39   ` [PATCH v2 2/4] cpupower-frequency-info.1: use proper name of --perf option Roberto Ricci

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox