summaryrefslogtreecommitdiff
path: root/Documentation/admin-guide
diff options
context:
space:
mode:
authorCheng-Han Wu <hank20010209@gmail.com>2026-05-03 18:14:27 +0800
committerJonathan Corbet <corbet@lwn.net>2026-05-15 08:48:28 -0600
commit6e13c0aac620ec418f1a47f6a3bb9230a6677e3f (patch)
tree46c87e709be81091d10d3a8ea31b512da40c4740 /Documentation/admin-guide
parentd848b1b099111c3b905a690e7e1a2600302e3b94 (diff)
downloadlwn-6e13c0aac620ec418f1a47f6a3bb9230a6677e3f.tar.gz
lwn-6e13c0aac620ec418f1a47f6a3bb9230a6677e3f.zip
docs: admin-guide: fix stress-ng command examples
The workload tracing guide includes stress-ng command examples with a stray "command." word at the end. This makes the examples invalid if they are copied and run directly. Remove the stray word from the stress-ng example. Also use "--" in the perf record example to clearly separate perf record options from the workload command being recorded. Signed-off-by: Cheng-Han Wu <hank20010209@gmail.com> Reviewed-by: Shuah Khan <skhan@linuxfoundation.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Message-ID: <20260503101429.254394-3-hank20010209@gmail.com>
Diffstat (limited to 'Documentation/admin-guide')
-rw-r--r--Documentation/admin-guide/workload-tracing.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/admin-guide/workload-tracing.rst b/Documentation/admin-guide/workload-tracing.rst
index 22cb05025ffc..43a3c8098654 100644
--- a/Documentation/admin-guide/workload-tracing.rst
+++ b/Documentation/admin-guide/workload-tracing.rst
@@ -271,7 +271,7 @@ exercised:
The following command runs the stressor::
- stress-ng --netdev 1 -t 60 --metrics command.
+ stress-ng --netdev 1 -t 60 --metrics
We can use the perf record command to record the events and information
associated with a process. This command records the profiling data in the
@@ -281,7 +281,7 @@ Using the following commands you can record the events associated with the
netdev stressor, view the generated report perf.data and annotate the output
to view the statistics of each instruction of the program::
- perf record stress-ng --netdev 1 -t 60 --metrics command.
+ perf record -- stress-ng --netdev 1 -t 60 --metrics
perf report
perf annotate