[GIT PULL] turbostat-2024.07.26 for Linux-6.11-merge

From: Len Brown
Date: Sat Jul 27 2024 - 15:11:58 EST


Hi Linus,

The following changes since commit b15943c4b3351173d5f3b0d87362d2994a89bb66:

tools/power turbostat: Add local build_bug.h header for snapshot
target (2024-06-27 23:53:27 -0400)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux.git tags/v6.11-merge

for you to fetch changes up to 866d2d36b81d7d0e6d91423b6dd9b1bcfd0510dd:

tools/power turbostat: version 2024.07.26 (2024-07-26 14:36:08 -0400)

----------------------------------------------------------------
turbostat release 2024.07.26

Enable turbostat extensions to add both perf and PMT
(Intel Platform Monitoring Technology) counters via the cmdline.

Demonstrate PMT access with built-in support for Meteor Lake's Die%c6 counter.

----------------------------------------------------------------
Len Brown (1):
tools/power turbostat: version 2024.07.26

Patryk Wlazlyn (16):
tools/power turbostat: Remove anonymous union from rapl_counter_info_t
tools/power turbostat: Replace enum rapl_source and
cstate_source with counter_source
tools/power turbostat: Add ZERO_ARRAY for zero initializing builtin array
tools/power turbostat: Group SMI counter with APERF and MPERF
tools/power turbostat: Extend --add option with perf counters
tools/power turbostat: Fix formatting in turbostat.8
tools/power turbostat: Add perf added counter example to turbostat.8
tools/power turbostat: Fix typo in turbostat.8
tools/power turbostat: Move debug prints from stdout to stderr
tools/power turbostat: Move verbose counter messages to level 2
tools/power turbostat: Add selftests for SMI, APERF and MPERF counters
tools/power turbostat: Add selftests for added perf counters
tools/power turbostat: Add early support for PMT counters
tools/power turbostat: Add MTL's PMT DC6 builtin counter
tools/power turbostat: Document PMT in turbostat.8
tools/power turbostat: Include umask=%x in perf counter's config

Tony Luck (1):
tools/power/turbostat: Switch to new Intel CPU model defines

tools/power/x86/turbostat/Makefile | 1 +
tools/power/x86/turbostat/turbostat.8 | 98 +-
tools/power/x86/turbostat/turbostat.c | 2341 ++++++++++++++++----
.../selftests/turbostat/added_perf_counters.py | 178 ++
.../testing/selftests/turbostat/smi_aperf_mperf.py | 157 ++
5 files changed, 2277 insertions(+), 498 deletions(-)
create mode 100755 tools/testing/selftests/turbostat/added_perf_counters.py
create mode 100755 tools/testing/selftests/turbostat/smi_aperf_mperf.py