cpumf/lspai: Add command line flags for all cpus

Add a command line flag '-a' to include the counter set values
from each individual CPU. Up to now only the total sum from
all CPUs was printed.

Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com>
Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Thomas Richter
2025-07-11 11:00:49 +02:00
committed by Jan Höppner
parent 5a3ffc2036
commit 2c5c5ef4b4
2 changed files with 54 additions and 2 deletions

View File

@@ -26,7 +26,7 @@
.RB [ \-n ]
.RB [ \-t
.IR "\ TYPE" ]
.RB [ \-d ][ \-i
.RB [ \-a ][ \-d ][ \-i
.IR SECONDS ]
.RB [ \-l
.IR COUNT ]
@@ -49,6 +49,7 @@ and numbers in various formats.
If
.I CPULIST
is specified or any of the options
.BR \-a ,
.BR \-d ,
.BR \-s ,
.BR \-x ,
@@ -78,6 +79,11 @@ Displays help information, then exits.
Displays version information, then exits.
.
.TP
.BR \-a ", " \-\-allcpu
Displays counter values from each CPU.
The default is a total summary line of all counters from all CPUs.
.
.TP
.BR \-d ", " \-\-delta
Displays counter values in form of deltas.
Each counter value shows the increment to the previous output line.