docs: fix wrong proftool usage
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@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
962424a873
commit
d53b2cfe08
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ Then run proftool to convert the trace information to ftrace format
|
|||
|
||||
.. code-block:: console
|
||||
|
||||
$ ./sandbox/tools/proftool -m sandbox/System.map -t trace dump-ftrace >trace.dat
|
||||
$ ./sandbox/tools/proftool -m sandbox/System.map -t trace dump-ftrace -o trace.dat
|
||||
|
||||
Finally run kernelshark to display it (note it only works with `.dat` files!):
|
||||
|
||||
|
|
Loading…
Reference in a new issue