Skip to content

Commit 55fb2d5

Browse files
6eanutJonathan Corbet
authored andcommitted
Documentation/admin-guide: fix typo and comment in cscope example
This patch updates the Linux documentation for cscope, fixing two issues: 1. Corrects the typo in the command line: c"scope -d -p10 -> cscope -d -p10 2. Fixes the related documentation comment for clarity and correctness: cscope by default cscope.out database. -> cscope by default uses the cscope.out database. Signed-off-by: Jiakai Xu <jiakaiPeanut@gmail.com> Reviewed-by: Randy Dunlap <rdunlap@infradead.org> Tested-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Message-ID: <20251119065727.3500015-1-jiakaiPeanut@gmail.com>
1 parent 34a2824 commit 55fb2d5

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Documentation/admin-guide/workload-tracing.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -196,11 +196,11 @@ Let’s checkout the latest Linux repository and build cscope database::
196196
cscope -R -p10 # builds cscope.out database before starting browse session
197197
cscope -d -p10 # starts browse session on cscope.out database
198198

199-
Note: Run "cscope -R -p10" to build the database and c"scope -d -p10" to
200-
enter into the browsing session. cscope by default cscope.out database.
201-
To get out of this mode press ctrl+d. -p option is used to specify the
202-
number of file path components to display. -p10 is optimal for browsing
203-
kernel sources.
199+
Note: Run "cscope -R -p10" to build the database and "cscope -d -p10" to
200+
enter into the browsing session. cscope by default uses the cscope.out
201+
database. To get out of this mode press ctrl+d. -p option is used to
202+
specify the number of file path components to display. -p10 is optimal
203+
for browsing kernel sources.
204204

205205
What is perf and how do we use it?
206206
==================================

0 commit comments

Comments
 (0)