From: sashiko-bot@kernel.org
To: "Andi Kleen" <ak@linux.intel.com>
Cc: linux-perf-users@vger.kernel.org
Subject: Re: [PATCH v1 1/4] perf tools record: Modernize -W man page
Date: Thu, 13 Aug 2026 13:47:01 +0000 [thread overview]
Message-ID: <20260813134702.4C80E1F00A3A@smtp.kernel.org> (raw)
In-Reply-To: <20260813132907.50738-1-ak@linux.intel.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] The patch introduces a double space in the updated text for the `--weight` option ('weight3 and local_weight'). Additionally, it propagates the pre-existing typo 'weightened' (which should likely be 'weighted') in the same modified block.
--
--- Patch [1]: [PATCH v1 1/4] perf tools record: Modernize -W man page ---
commit 3b23df9a5d2c30f9e6db8d77004cb5c3a03f441d
Author: Andi Kleen <ak@linux.intel.com>
perf tools record: Modernize -W man page
This commit updates the -W / --weight description in the perf-record man page
to cover newly supported cases and configurations.
> diff --git a/tools/perf/Documentation/perf-record.txt b/tools/perf/Documentation/perf-record.txt
> --- a/tools/perf/Documentation/perf-record.txt
> +++ b/tools/perf/Documentation/perf-record.txt
> @@ -480,9 +480,11 @@ Note that this feature may not be available on all processors.
>
> -W::
> --weight::
> -Enable weightened sampling. An additional weight is recorded per sample and can be
> -displayed with the weight and local_weight sort keys. This currently works for TSX
> -abort events and some memory events in precise mode on modern Intel CPUs.
> +Enable weightened sampling. One or more additional weights can be recorded per sample
> +and can be displayed with the weight, weight2, weight3 and local_weight sort keys.
[Severity: Low]
This isn't a bug, but it looks like a double space was introduced between
weight3 and the word and.
Additionally, this is a pre-existing issue, but the phrase Enable weightened
sampling should likely be Enable weighted sampling. Since this block of text
is being modified, would it make sense to correct the typo here?
> +Possible uses for weights are memory or instruction retirement latencies.
> +Support depends on the PMU and the event, as well as its configuration. Typically
> +it requires use of 'p'.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260813132907.50738-1-ak@linux.intel.com?part=1
prev parent reply other threads:[~2026-08-13 13:47 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-13 13:29 [PATCH v1 1/4] perf tools record: Modernize -W man page Andi Kleen
2026-08-13 13:29 ` [PATCH v1 2/4] perf tools top: Add --weight option Andi Kleen
2026-08-13 13:53 ` sashiko-bot
2026-08-13 13:29 ` [PATCH v1 3/4] perf tools: Add support for displaying weights in annotate Andi Kleen
2026-08-13 14:04 ` sashiko-bot
2026-08-13 13:29 ` [PATCH v1 4/4] perf tools: Add test for weight annotation Andi Kleen
2026-08-13 14:18 ` sashiko-bot
2026-08-13 13:47 ` sashiko-bot [this message]
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=20260813134702.4C80E1F00A3A@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=ak@linux.intel.com \
--cc=linux-perf-users@vger.kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.