From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f50.google.com (mail-ot1-f50.google.com [209.85.210.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A174F2D5A19 for ; Tue, 5 May 2026 18:27:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778005640; cv=none; b=G5MZJx54BISAWvMNrceVQhPYnhe9LC24pwEMst8CfwtAiI/l6zDd1hlSafY3PxlB4V/E8KYfYvlIczHJe9phqoR1fu/j3STILD9imvQI9ccvG3ruaKmArGH5eb3zUldY4/SJkhjB+8WkIKikqHzjAqU5QO2da03K31TSUQpNLcs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778005640; c=relaxed/simple; bh=GnzNxi4VDbwMXMgQNZmJ3WMbd3Sv0fulXwgLd0TlyNs=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=X7WYiMNJcQake1QodUmE+rF7dztTY5cV1ipXOIfyUf813GqX92yOIiiHrOg+UOsAicGXUQWxhuDxeMV2ngrv5UPIbunUcmqVDT70p5cDIJ4LIqCsM8ye1PxiGesfZ0su1DT/+Cf7LFvhMyjeQGxpBavkMAE5PIbWjf1NokhC/kU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linuxfoundation.org; spf=pass smtp.mailfrom=linuxfoundation.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=bLcEgGVb; arc=none smtp.client-ip=209.85.210.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linuxfoundation.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="bLcEgGVb" Received: by mail-ot1-f50.google.com with SMTP id 46e09a7af769-7dbe07d3ec3so2515577a34.0 for ; Tue, 05 May 2026 11:27:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; t=1778005638; x=1778610438; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=INsVGbIPl7/iSrn4XtpBL59W3mw3kYeTKhUzH3YtbV4=; b=bLcEgGVbcJSgByGM0CmFDYaOSohIJkmYEJ3KiDQ2lEjonxLT0dDgTUI3K4oN6FAL5K sa5AgoA9C9BG4rRejQCITS4Kdi+zhYVlxZNy+H5CT5Fi4Zf7JH0htQrRVdEFIQ2IeU8Y dVYrGeHR2EEQu/oOi2PbwVNx1Qkx0QCo/cyMc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778005638; x=1778610438; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=INsVGbIPl7/iSrn4XtpBL59W3mw3kYeTKhUzH3YtbV4=; b=BnaKWEYIbwM9IfcFLLZLF+cRo1nVBP2JBme+ME6FshCKHAbGCxpQnwLHGACdQjrTcq ye5OTftjLPWggKg7i0NcO74KpmvHTfxN7EBKD5o57SsCQw89vlPBqnbYjwjIMn9dNEKo cCveGyxU6OsgcYRJaLnjPFdLc53A6KZRjk3kNZPrD/ZfnQ21zSzCeLc7mK4yVKTrXxab 9yPJJHIUAlCmbe+e8uFftY9NsgJndnqgYZEfHHVc5U/Wft8Fl/rf2m5nfzttCL/je8Rn XNbik/AYqN+PYsxrGr3yNiMgY8kX+xlIjeiw1H8PW0uF3tOyQxcszK5rB7f/7pv51wc9 hHRQ== X-Forwarded-Encrypted: i=1; AFNElJ+ByM361OrmLQwc0JZmOVJt33VLn9QWR4H/4BHo4eKtOrJ6JoaJTyZUWu4dx+Vig+MNruMz2Ll9fusKXRg=@vger.kernel.org X-Gm-Message-State: AOJu0YxhFopBAX3tPF5MbrAsuFG0otp7oI2wd5ARSwLL31uQmcgk4wtH XzvlyrXi8YOrAII7V7DUd6qfhvzuTqaGub47S0o15ka3/eIsCm3VUaLdXMcZEabdigc= X-Gm-Gg: AeBDiesJBk00z9i9xUNJnYK9G3LyKog4x3ytTZWl+2J5qnu8zL0gQfDudMpANqh+K8g aDZUDGFppiWlWhJSfvSHjZp8lIjDbj7mWZ2lfFnNmsZTHtYfHBPiRPUnSbBe/j9LiE/HKI+upsn Wh88+Q1p9S1y2SKUaExMcSSC/bk870Jw/WGkwf0d7tUTDiR68bS1gZcZ+DwiOKQfVv8Q0OVtMAS QYqczkE+4TCVgjhJrBVyqsyDA7Bw7Zxx5UEMLTnKfYaj/WJuWk4xcEyxubEbES4j257YiuvsYaZ oS2jfxUwhbOhi8sOM5LOJp8EXE+vGrIyoHMggHhn4fgCfs4yJfjKDOios6JgMAcoRJ4wdcmnJ4c hrav2VXVQQLy3rU18xOuJrYy0O+vkp91lKTR2r6l4pazutR1R65iyUz3qvtgAiZhnDj7ibqRUVe F85NGFmgsX3jUotkfQx93LpH//fQ+M0a5wNpyxIjNYvQ== X-Received: by 2002:a05:6830:6a90:b0:7d7:5113:f83a with SMTP id 46e09a7af769-7e1887488e3mr2478049a34.25.1778005637658; Tue, 05 May 2026 11:27:17 -0700 (PDT) Received: from [192.168.1.14] ([38.15.57.99]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7deca826dbesm10544244a34.12.2026.05.05.11.27.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 05 May 2026 11:27:17 -0700 (PDT) Message-ID: Date: Tue, 5 May 2026 12:27:16 -0600 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/4] docs: admin-guide: fix stress-ng command examples To: Cheng-Han Wu , Jonathan Corbet Cc: Randy Dunlap , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Shuah Khan References: <20260503101429.254394-1-hank20010209@gmail.com> <20260503101429.254394-3-hank20010209@gmail.com> Content-Language: en-US From: Shuah Khan In-Reply-To: <20260503101429.254394-3-hank20010209@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 5/3/26 04:14, Cheng-Han Wu wrote: > 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 > --- > Documentation/admin-guide/workload-tracing.rst | 4 ++-- > 1 file 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 > Looks to good to me. Reviewed-by: Shuah Khan thanks, -- Shuah