From: "Doug Smythies" <dsmythies@telus.net>
To: "'Len Brown'" <lenb@kernel.org>
Cc: <linux-pm@vger.kernel.org>, "Doug Smythies" <dsmythies@telus.net>
Subject: RE: turbostat 2024.04.08 queued for upstream
Date: Tue, 9 Apr 2024 08:40:08 -0700 [thread overview]
Message-ID: <001001da8a94$33d941c0$9b8bc540$@telus.net> (raw)
In-Reply-To: <20240409003120.338589-1-lenb@kernel.org>
Hi Len,
Thank you for the new version of turbostat.
There seems to be 5 patches missing from the set of 26.
I also checked on patchworks:
https://patchwork.kernel.org/project/linux-pm/list/?series=842622
On 2024.04.08 17:31 Len wrote:
> Please let me know if you see any problems in this update.
>
> thanks!
> -len
>
> git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux.git tags/turbostat-2024.04.08
I cloned it and all 26 patches are there.
I would just compile turbostat there and use that one, but it doesn't compile.
(see below).
>
> Turbostat version 2024.04.08
>
>Use of the CPU MSR driver is now optional.
> Perf is now preferred for many counters.
>
> Non-root users can now execute turbostat, though with limited function.
>
> Add counters for some new GFX hardware.
>
> ----------------------------------------------------------------
> Chen Yu (1):
> tools/power turbostat: Do not print negative LPI residency
>
> Doug Smythies (1):
> tools/power turbostat: Fix added raw MSR output
>
> Justin Ernst (1):
> tools/power/turbostat: Fix uncore frequency file string
Missing.
> Len Brown (4):
> tools/power turbostat: Expand probe_intel_uncore_frequency()
> tools/power turbostat: Fix warning upon failed /dev/cpu_dma_latency read
> tools/power turbostat: enhance -D (debug counter dump) output
> tools/power turbostat: v2024.04.08
Missing (just tools/power turbostat: v2024.04.08 is missing)
This chunk of the patch:
@@ -3371,7 +3374,7 @@ int get_rapl_counters(int cpu, int domain, struct core_data *c, struct pkg_data
struct rapl_counter_info_t *rci = &rapl_counter_info_perdomain[domain];
if (debug)
- fprintf(stderr, "get_rapl_counters: cpu%d domain%d\n", cpu, domain);
+ fprintf(stderr, "%s: cpu%d domain%d\n" __func__, cpu, domain);
assert(rapl_counter_info_perdomain);
Should be this (note the missing comma added):
+ fprintf(stderr, "%s: cpu%d domain%d\n", __func__, cpu, domain);
With that change turbostat version 2024.04.08 compiles.
> Patryk Wlazlyn (11):
> tools/power turbostat: Print ucode revision only if valid
> tools/power turbostat: Read base_hz and bclk from CPUID.16H if available
> tools/power turbostat: Add --no-msr option
> tools/power turbostat: Add --no-perf option
> tools/power turbostat: Add reading aperf and mperf via perf API
> tools/power turbostat: detect and disable unavailable BICs at runtime
> tools/power turbostat: add early exits for permission checks
> tools/power turbostat: Clear added counters when in no-msr mode
> tools/power turbostat: Add proper re-initialization for perf file descriptors
> tools/power turbostat: read RAPL counters via perf
> tools/power turbostat: Add selftests
>
> Peng Liu (1):
> tools/power turbostat: Fix Bzy_MHz documentation typo
>
> Wyes Karny (1):
> tools/power turbostat: Increase the limit for fd opened
>
> Zhang Rui (6):
> tools/power/turbostat: Enable MSR_CORE_C1_RES support for ICX
> tools/power/turbostat: Cache graphics sysfs path
> tools/power/turbostat: Unify graphics sysfs snapshots
> tools/power/turbostat: Introduce BIC_SAM_mc6/BIC_SAMMHz/BIC_SAMACTMHz
Missing
> tools/power/turbostat: Add support for new i915 sysfs knobs
Missing
> tools/power/turbostat: Add support for Xe sysfs knobs
Missing
>
> MAINTAINERS | 1 +
> tools/power/x86/turbostat/turbostat.8 | 6 +-
> tools/power/x86/turbostat/turbostat.c | 2197 ++++++++++++++++++-----
> tools/testing/selftests/turbostat/defcolumns.py | 60 +
> 4 files changed, 1805 insertions(+), 459 deletions(-)
> create mode 100755 tools/testing/selftests/turbostat/defcolumns.py
next prev parent reply other threads:[~2024-04-09 15:40 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-09 0:30 turbostat 2024.04.08 queued for upstream Len Brown
2024-04-09 0:30 ` [PATCH 01/26] tools/power turbostat: Fix added raw MSR output Len Brown
2024-04-09 0:30 ` [PATCH 02/26] tools/power turbostat: Increase the limit for fd opened Len Brown
2024-04-09 0:30 ` [PATCH 03/26] tools/power turbostat: Fix Bzy_MHz documentation typo Len Brown
2024-04-09 0:30 ` [PATCH 04/26] tools/power turbostat: Do not print negative LPI residency Len Brown
2024-04-09 0:30 ` [PATCH 05/26] tools/power turbostat: Expand probe_intel_uncore_frequency() Len Brown
2024-04-09 0:31 ` [PATCH 06/26] tools/power turbostat: Print ucode revision only if valid Len Brown
2024-04-09 0:31 ` [PATCH 07/26] tools/power turbostat: Read base_hz and bclk from CPUID.16H if available Len Brown
2024-04-09 0:31 ` [PATCH 08/26] tools/power turbostat: Fix warning upon failed /dev/cpu_dma_latency read Len Brown
2024-04-09 0:31 ` [PATCH 09/26] tools/power turbostat: enhance -D (debug counter dump) output Len Brown
2024-04-09 0:31 ` [PATCH 10/26] tools/power turbostat: Add --no-msr option Len Brown
2024-04-09 0:31 ` [PATCH 11/26] tools/power turbostat: Add --no-perf option Len Brown
2024-04-09 0:31 ` [PATCH 12/26] tools/power turbostat: Add reading aperf and mperf via perf API Len Brown
2024-04-09 0:31 ` [PATCH 13/26] tools/power turbostat: detect and disable unavailable BICs at runtime Len Brown
2024-04-09 0:31 ` [PATCH 14/26] tools/power turbostat: add early exits for permission checks Len Brown
2024-04-09 0:31 ` [PATCH 15/26] tools/power turbostat: Clear added counters when in no-msr mode Len Brown
2024-04-09 0:31 ` [PATCH 16/26] tools/power turbostat: Add proper re-initialization for perf file descriptors Len Brown
2024-04-09 0:31 ` [PATCH 17/26] tools/power turbostat: read RAPL counters via perf Len Brown
2024-04-09 0:31 ` [PATCH 18/26] tools/power turbostat: Add selftests Len Brown
2024-04-09 0:31 ` [PATCH 19/26] tools/power/turbostat: Enable MSR_CORE_C1_RES support for ICX Len Brown
2024-04-09 0:31 ` [PATCH 20/26] tools/power/turbostat: Cache graphics sysfs path Len Brown
2024-04-09 0:31 ` [PATCH 21/26] tools/power/turbostat: Unify graphics sysfs snapshots Len Brown
2024-04-09 15:40 ` Doug Smythies [this message]
2024-04-10 0:26 ` turbostat 2024.04.08 queued for upstream Len Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='001001da8a94$33d941c0$9b8bc540$@telus.net' \
--to=dsmythies@telus.net \
--cc=lenb@kernel.org \
--cc=linux-pm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).