Re: [PATCH] rtla: fix a example in rtla-timerlat-hist.rst

From: Daniel Bristot de Oliveira
Date: Tue Sep 19 2023 - 09:57:57 EST


On 9/19/23 15:30, Xie XiuQi wrote:
> From: Xie XiuQi <xiexiuqi@xxxxxxxxxx>
>
> 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.

right, but we could also parse the -p accordingly, no?

as well as the -r for osnoise and hwnoise... and other
us only parameters....

> 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.
>
> Signed-off-by: Xie XiuQi <xiexiuqi@xxxxxxxxxx>