]> git.puffer.fish Git - matthieu/frr.git/commitdiff
doc: Rename `show thread ...` to `show event ...`
authorDonatas Abraitis <donatas@opensourcerouting.org>
Sun, 7 Jan 2024 11:29:08 +0000 (13:29 +0200)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Sun, 7 Jan 2024 12:14:56 +0000 (14:14 +0200)
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
doc/developer/process-architecture.rst
doc/user/basic.rst

index 06ee6a3c37cace9c16b94d84d0f014738805d045..1f990059a532f96f7939c93e29841547818cb872 100644 (file)
@@ -87,7 +87,7 @@ are given by integer macros in :file:`frrevent.h` and are:
 
 ``EVENT_EXECUTE``
    Just before a task is run its type is changed to this. This is used to show
-   ``X`` as the type in the output of :clicmd:`show thread cpu`.
+   ``X`` as the type in the output of :clicmd:`show event cpu`.
 
 The programmer never has to work with these types explicitly. Each type of task
 is created and queued via special-purpose functions (actually macros, but
@@ -238,14 +238,14 @@ proceeding.
 
 In addition, the existing commands to show statistics and other information for
 tasks within the event driven model have been expanded to handle multiple
-pthreads; running :clicmd:`show thread cpu` will display the usual event
+pthreads; running :clicmd:`show event cpu` will display the usual event
 breakdown, but it will do so for each pthread running in the program. For
 example, :ref:`bgpd` runs a dedicated I/O pthread and shows the following
-output for :clicmd:`show thread cpu`:
+output for :clicmd:`show event cpu`:
 
 ::
 
-   frr# show thread cpu
+   frr# show event cpu
 
    Thread statistics for bgpd:
 
index bbf24c5eed94cb27c03a956c52c63f24d68fad21..24978b2f79a7ab28e1c05ab57dc4f2e2a280a93f 100644 (file)
@@ -673,20 +673,20 @@ Terminal Mode Commands
 
 .. _common-show-commands:
 
-.. clicmd:: show thread cpu [r|w|t|e|x]
+.. clicmd:: show event cpu [r|w|t|e|x]
 
    This command displays system run statistics for all the different event
    types. If no options is specified all different run types are displayed
    together.  Additionally you can ask to look at (r)ead, (w)rite, (t)imer,
    (e)vent and e(x)ecute thread event types.
 
-.. clicmd:: show thread poll
+.. clicmd:: show event poll
 
    This command displays FRR's poll data.  It allows a glimpse into how
    we are setting each individual fd for the poll command at that point
    in time.
 
-.. clicmd:: show thread timers
+.. clicmd:: show event timers
 
    This command displays FRR's timer data for timers that will pop in
    the future.