Linux Perf Users
 help / color / mirror / Atom feed
* [PATCH v1 1/4] perf tools record: Modernize -W man page
@ 2026-08-13 13:29 Andi Kleen
  2026-08-13 13:29 ` [PATCH v1 2/4] perf tools top: Add --weight option Andi Kleen
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Andi Kleen @ 2026-08-13 13:29 UTC (permalink / raw)
  To: namhyung; +Cc: acme, linux-perf-users, Andi Kleen

Modernize the -W / --weight description in the manpage to cover more
cases that are supported now.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
---
 tools/perf/Documentation/perf-record.txt | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/tools/perf/Documentation/perf-record.txt b/tools/perf/Documentation/perf-record.txt
index 178f483140ed..faf6a4419f23 100644
--- 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.
+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'.
 
 --namespaces::
 Record events of type PERF_RECORD_NAMESPACES.  This enables 'cgroup_id' sort key.
-- 
2.55.0


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-08-13 14:18 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [PATCH v1 1/4] perf tools record: Modernize -W man page sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox