From d53b2cfe0805cd84de16f4e2da396b75b409a8ab Mon Sep 17 00:00:00 2001 From: Pavel Skripkin Date: Wed, 12 Apr 2023 22:05:31 +0300 Subject: [PATCH] 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] s/>/-o/ fixes it and proftool outputs decoded data to trace.dat Signed-off-by: Pavel Skripkin Reviewed-by: Simon Glass --- doc/develop/trace.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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!): -- 2.39.5