Commit c808624
tools/power turbostat: Honor --show CPU, even when even when num_cpus=1
Honor --show CPU and --show Core when "topo.num_cpus == 1".
Previously turbostat assumed that on a 1-CPU system, these
columns should never appear.
Honoring these flags makes it easier for several programs
that parse turbostat output.
Signed-off-by: Patryk Wlazlyn <[email protected]>
Signed-off-by: Len Brown <[email protected]>1 parent fed8511 commit c808624
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8229 | 8229 | | |
8230 | 8230 | | |
8231 | 8231 | | |
8232 | | - | |
| 8232 | + | |
8233 | 8233 | | |
8234 | 8234 | | |
8235 | 8235 | | |
| |||
8367 | 8367 | | |
8368 | 8368 | | |
8369 | 8369 | | |
8370 | | - | |
| 8370 | + | |
8371 | 8371 | | |
8372 | 8372 | | |
8373 | 8373 | | |
| |||
0 commit comments