llvm-project/lldb/docs
Walter Erquinigo d52ba48821 [trace] Introduce Hierarchical Trace Representation (HTR) and add command for Intel PT trace visualization
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
2021-07-28 13:56:45 -07:00
..
_lldb Reland [lldb][docs] Use sphinx instead of epydoc to generate LLDB's Python reference 2021-01-17 12:13:01 +01:00
_static [lldb][docs] Expand CSS fix for LLDB doc tables 2021-01-20 10:30:00 +01:00
design Remove the DarwinLog functionality from debguserver 2021-07-20 00:36:56 -07:00
man Fix typo, arvm7 -> armv7 2021-05-05 00:56:44 -04:00
resources [lldb][docs] Remove mention of subversion. NFC. 2021-07-14 11:04:07 +00:00
status [lldb] Fix typos. NFC. 2021-05-31 06:48:57 +07:00
testsuite [lldb][NFC] Delete a checked-in build log in docs/testsuite 2021-04-23 10:36:43 +02:00
use [lldb][docs] Fix reference warnings in python-reference.rst 2021-07-06 10:14:33 +02:00
.htaccess [trace][intel-pt] Create basic SB API 2021-06-17 15:14:47 -07:00
CMakeLists.txt Reland [lldb][docs] Use sphinx instead of epydoc to generate LLDB's Python reference 2021-01-17 12:13:01 +01:00
conf.py [lldb][docs] Force documentation emission of special Python class members 2021-07-07 19:49:50 +02:00
doxygen-mainpage.dox [Docs] Make Doxygen functional 2019-04-19 18:02:35 +00:00
doxygen.cfg.in [lldb] Fix typos in documentation (NFC) 2021-03-01 23:40:29 -08:00
htr.rst [trace] Introduce Hierarchical Trace Representation (HTR) and add command for Intel PT trace visualization 2021-07-28 13:56:45 -07:00
index.rst [lldb] [docs] Update platform support status 2021-02-21 21:47:48 +01:00
lldb-for-gdb-users.txt [lldb] Fix typos in documentation (NFC) 2021-03-01 23:40:29 -08:00
lldb-gdb-remote.txt [intel pt] Add TSC timestamps 2021-07-20 16:29:17 -07:00
lldb-platform-packets.txt [lldb] Fix typos in documentation (NFC) 2021-03-01 23:40:29 -08:00
python_api.rst Reland [lldb][docs] Use sphinx instead of epydoc to generate LLDB's Python reference 2021-01-17 12:13:01 +01:00
python_api_enums.rst [lldb][docs] Add the missing rst anchors to the Python enum docs 2021-06-14 16:31:28 +02:00