Skip to content

Commit 81ec384

Browse files
Xie XiuQiDaniel Bristot de Oliveira
authored andcommitted
rtla: fix a example in rtla-timerlat-hist.rst
The following error message is reported when running the example in document. # timerlat hist -d 10m -c 0-4 -P d:100us:1ms -p 1ms --no-aa Failed to set timerlat period Could not apply config The unit of the period is microsecond, '1ms' cannot be accepted. usage: [rtla] timerlat hist [-h] [-q] [-d s] [-D] [-n] [-a us] [-p us] [-i us] [-T us] [-s us] ... ... -p/--period us: timerlat period in us ... Also fix another minor missleading comment. Link: https://lore.kernel.org/lkml/[email protected] Signed-off-by: Xie XiuQi <[email protected]> Signed-off-by: Daniel Bristot de Oliveira <[email protected]>
1 parent e8c44d3 commit 81ec384

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/tools/rtla/rtla-timerlat-hist.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ EXAMPLE
3636
In the example below, **rtla timerlat hist** is set to run for *10* minutes,
3737
in the cpus *0-4*, *skipping zero* only lines. Moreover, **rtla timerlat
3838
hist** will change the priority of the *timerlat* threads to run under
39-
*SCHED_DEADLINE* priority, with a *10us* runtime every *1ms* period. The
39+
*SCHED_DEADLINE* priority, with a *100us* runtime every *1ms* period. The
4040
*1ms* period is also passed to the *timerlat* tracer. Auto-analysis is disabled
4141
to reduce overhead ::
4242

43-
[root@alien ~]# timerlat hist -d 10m -c 0-4 -P d:100us:1ms -p 1ms --no-aa
43+
[root@alien ~]# timerlat hist -d 10m -c 0-4 -P d:100us:1ms -p 1000 --no-aa
4444
# RTLA timerlat histogram
4545
# Time unit is microseconds (us)
4646
# Duration: 0 00:10:00

0 commit comments

Comments
 (0)