docs: fix wrong usage of proftool
authorPuhan Zhou <puh4n.zhou@gmail.com>
Sun, 13 Aug 2023 05:16:19 +0000 (13:16 +0800)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 19 Aug 2023 02:12:52 +0000 (04:12 +0200)
commitaab60a51284bce8f21e472d3e8943f76586edf42
tree9767f7da0af165472490e2639479e3db194447a5
parent4ad85a9fea1ad5c401272102e68398f3bbdd20dd
docs: fix wrong usage of proftool

The usage of proftool in docs is incorrect. If proftool is used without
'-o' argument, it will show the usage like following

$ ./sandbox/tools/proftool -m sandbox/System.map -t trace -f funcgraph dump-ftrace >trace.dat
Must provide trace data, System.map file and output file
Usage: proftool [-cmtv] <cmd> <profdata>

Change '>' to '-o' to fix it.

Signed-off-by: Puhan Zhou <puh4n.zhou@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
doc/develop/trace.rst