[PATCH v2] Documentation: dev-tools: Fix a typo in autofdo documentation

Harshit Mogalapalli posted 1 patch 1 month ago
Documentation/dev-tools/autofdo.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH v2] Documentation: dev-tools: Fix a typo in autofdo documentation
Posted by Harshit Mogalapalli 1 month ago
Use "cat /proc/cpuinfo" instead of "cat proc/cpuinfo".

Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
---
 v1 -> v2: Fix a typo in commit message.

 Documentation/dev-tools/autofdo.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/dev-tools/autofdo.rst b/Documentation/dev-tools/autofdo.rst
index 1f0a451e9ccd..bcf06e7d6ffa 100644
--- a/Documentation/dev-tools/autofdo.rst
+++ b/Documentation/dev-tools/autofdo.rst
@@ -131,11 +131,11 @@ Here is an example workflow for AutoFDO kernel:
 
      For Zen3::
 
-      $ cat proc/cpuinfo | grep " brs"
+      $ cat /proc/cpuinfo | grep " brs"
 
      For Zen4::
 
-      $ cat proc/cpuinfo | grep amd_lbr_v2
+      $ cat /proc/cpuinfo | grep amd_lbr_v2
 
      The following command generated the perf data file::
 
-- 
2.50.1
Re: [PATCH v2] Documentation: dev-tools: Fix a typo in autofdo documentation
Posted by Jonathan Corbet 4 weeks, 1 day ago
Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com> writes:

> Use "cat /proc/cpuinfo" instead of "cat proc/cpuinfo".
>
> Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
> ---
>  v1 -> v2: Fix a typo in commit message.
>
>  Documentation/dev-tools/autofdo.rst | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/dev-tools/autofdo.rst b/Documentation/dev-tools/autofdo.rst
> index 1f0a451e9ccd..bcf06e7d6ffa 100644
> --- a/Documentation/dev-tools/autofdo.rst
> +++ b/Documentation/dev-tools/autofdo.rst
> @@ -131,11 +131,11 @@ Here is an example workflow for AutoFDO kernel:
>  
>       For Zen3::
>  
> -      $ cat proc/cpuinfo | grep " brs"
> +      $ cat /proc/cpuinfo | grep " brs"
>  
>       For Zen4::
>  
> -      $ cat proc/cpuinfo | grep amd_lbr_v2
> +      $ cat /proc/cpuinfo | grep amd_lbr_v2
>  
>       The following command generated the perf data file::

Applied, thanks.

jon