summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPavel Skripkin <paskripkin@gmail.com>2023-04-12 22:05:31 +0300
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-05-04 09:57:43 +0200
commitd53b2cfe0805cd84de16f4e2da396b75b409a8ab (patch)
treeec08d4602891734dc73d3822348bbec0f3a16d2a /doc
parent962424a873be580551800efcf1ce5178945b9eec (diff)
downloadu-boot-d53b2cfe0805cd84de16f4e2da396b75b409a8ab.tar.gz
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>
Diffstat (limited to 'doc')
-rw-r--r--doc/develop/trace.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/develop/trace.rst b/doc/develop/trace.rst
index 8425d843e9..9bbe1345d2 100644
--- a/doc/develop/trace.rst
+++ b/doc/develop/trace.rst
@@ -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!):