Skip to content

Commit

Permalink
Fix ftrace_format.py not reading from stdin
Browse files Browse the repository at this point in the history
optee_os/scripts/ftrace_format.py does not read from stdin,
hence piping into it does not work and only prints usage information.
Instead, the ftrace-<ta_uuid>.out file has to be given as an argument.

Signed-off-by: Stefan Gloor <[email protected]>
Reviewed-by: Jerome Forissier <[email protected]>
  • Loading branch information
stgloorious authored and jbech-linaro committed Nov 27, 2023
1 parent 6846187 commit 2e3a5da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debug/ftrace.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Usage
- Run helper scripts called ``ftrace_format.py`` to translate the function
graph binary data into human readable text and ``symbolize.py`` to
convert function addresses into function names:
``cat ftrace-<ta_uuid>.out | optee_os/scripts/ftrace_format.py |
``optee_os/scripts/ftrace_format.py ftrace-<ta_uuid>.out |
optee_os/scripts/symbolize.py -d <ta_uuid>.elf -d tee.elf``

- Refer to `commit 5c2c0fb31efb`_ for a full usage example on QEMU.
Expand Down

0 comments on commit 2e3a5da

Please sign in to comment.