summary refs log tree commit diff
diff options
context:
space:
mode:
authorPierre Gondois <pierre.gondois@arm.com>2022-10-06 10:44:09 +0200
committerJonathan Corbet <corbet@lwn.net>2022-10-13 10:37:13 -0600
commit877d95dcfd0a56102d4b97a9691115f5fb5e9ea3 (patch)
treeb383dce162ea22da807ebe8bd9b9a8a81afea23a
parentff2be4420863cc93bd4e0bea333ac9cb090a3415 (diff)
downloadlinux-877d95dcfd0a56102d4b97a9691115f5fb5e9ea3.tar.gz
Documentation: rtla: Correct command line example
The '-t/-T' parameters seem to have been swapped:
-t/--trace[=file]: save the stopped trace
to [file|timerlat_trace.txt]
-T/--thread us: stop trace if the thread latency
is higher than the argument in us

Swap them back.

Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
Acked-by: Daniel Bristot de Oliveira <bristot@kernel.org>
Link: https://lore.kernel.org/r/20221006084409.3882542-1-pierre.gondois@arm.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
-rw-r--r--Documentation/tools/rtla/rtla-timerlat-top.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/tools/rtla/rtla-timerlat-top.rst b/Documentation/tools/rtla/rtla-timerlat-top.rst
index 1c321de1c171..7c4e4b109493 100644
--- a/Documentation/tools/rtla/rtla-timerlat-top.rst
+++ b/Documentation/tools/rtla/rtla-timerlat-top.rst
@@ -39,7 +39,7 @@ higher than *30 us*. It is also set to stop the session if a *Thread* timer
 latency higher than *30 us* is hit. Finally, it is set to save the trace
 buffer if the stop condition is hit::
 
-  [root@alien ~]# rtla timerlat top -s 30 -t 30 -T
+  [root@alien ~]# rtla timerlat top -s 30 -T 30 -t
                    Timer Latency
     0 00:00:59   |          IRQ Timer Latency (us)        |         Thread Timer Latency (us)
   CPU COUNT      |      cur       min       avg       max |      cur       min       avg       max