[PATCH] docs: fix wrong proftool usage

Simon Glass sjg at chromium.org
Wed Apr 19 03:45:30 CEST 2023


On Wed, 12 Apr 2023 at 13:05, Pavel Skripkin <paskripkin at gmail.com> wrote:
>
> Guide shows incorrect usage of proftool, which is confusing. If proftool
> is used w/o '-o' argument it complains like following
>
> $ ./sandbox/tools/proftool -m sandbox/System.map -t trace dump-ftrace > trace.dat
> Must provide trace data, System.map file and output file
> Usage: proftool [-cmtv] <cmd> <profdata>
>
> s/>/-o/ fixes it and proftool outputs decoded data to trace.dat
>
> Signed-off-by: Pavel Skripkin <paskripkin at gmail.com>
> ---
>  doc/develop/trace.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list