forked from OSchip/llvm-project
d52ba48821
This diff introduces Hierarchical Trace Representation (HTR) and creates the `thread trace export ctf -f <filename> -t <thread_id>` command to export an Intel PT trace's HTR to Chrome Trace Format (CTF) for visualization. See `lldb/docs/htr.rst` for context/documentation on HTR. **Overview of Changes** - Add HTR documentation (see `lldb/docs/htr.rst`) - Add HTR structures (layer, block, block metadata) - Implement "Basic Super Block" HTR pass - Add 'thread trace export ctf' command to export the HTR of an Intel PT trace to Chrome Trace Format (CTF) As this diff is the first iteration of HTR and trace visualization, future diffs will build on this work by generalizing the internal design of HTR and implementing new HTR passes that provide better trace summarization/visualization. See attached video for an example of Intel PT trace visualization: {F17851042} Original Author: jj10306 Submitted by: wallace Reviewed By: wallace, clayborg Differential Revision: https://reviews.llvm.org/D105741 |
||
---|---|---|
.. | ||
_lldb | ||
_static | ||
design | ||
man | ||
resources | ||
status | ||
testsuite | ||
use | ||
.htaccess | ||
CMakeLists.txt | ||
conf.py | ||
doxygen-mainpage.dox | ||
doxygen.cfg.in | ||
htr.rst | ||
index.rst | ||
lldb-for-gdb-users.txt | ||
lldb-gdb-remote.txt | ||
lldb-platform-packets.txt | ||
python_api.rst | ||
python_api_enums.rst |