Skip to content

tools/power turbostat: Fix counter formats and CPU selection docs

Qinyun Tan linux-pm lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3tools/power turbostat: Fix average format for CPU/core perf counterstools/power/x86/turbostat/turbostat.c+2 -20 replies
2/3tools/power turbostat: Restore u32 truncation for raw counterstools/power/x86/turbostat/turbostat.c+1 -10 replies
3/3tools/power turbostat: Fix --cpu summary descriptiontools/power/x86/turbostat/turbostat.8+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] tools/power turbostat: Fix counter formats and CPU selection docs

Hi all,

This series fixes three turbostat issues:

1. Preserve current CPU/core perf counter values for the average format.
2. Restore low-32-bit truncation for u32 raw counters.
3. Correct the --cpu documentation: numeric selections restrict collection and the summary; core and package only filter displayed rows.

Thanks,
Qinyun Tan

Qinyun Tan (3):
tools/power turbostat: Fix average format for CPU/core perf counters tools/power turbostat: Restore u32 truncation for raw counters tools/power turbostat: Fix --cpu summary description

 tools/power/x86/turbostat/turbostat.8 | 4 ++--
 tools/power/x86/turbostat/turbostat.c | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)
Signature · 1 line
2.55.0