llvm-project/lldb/source/Plugins/TraceExporter
Jakob Johnson f9b4ea0ce9 [trace] Add SBTraceCursor bindings
Add bindings for the `TraceCursor` to allow for programatic traversal of
traces.
This diff adds bindings for all public `TraceCursor` methods except
`GetHwClock` and also adds `SBTrace::CreateNewCursor`. A new unittest
has been added to TestTraceLoad.py that uses the new `SBTraceCursor` API
to test that the sequential and random access APIs of the `TraceCursor`
are equivalent.

This diff depends on D130925.

Test Plan:
`ninja lldb-dotest && ./bin/lldb-dotest -p TestTraceLoad`

Differential Revision: https://reviews.llvm.org/D130930
2022-08-02 16:55:33 -07:00
..
common [trace] Add SBTraceCursor bindings 2022-08-02 16:55:33 -07:00
ctf [trace] Replace TraceCursorUP with TraceCursorSP 2022-08-01 13:53:53 -07:00
docs [NFC] Trim trailing whitespace in *.rst 2021-11-15 09:17:08 +08:00
CMakeLists.txt [trace] Introduce Hierarchical Trace Representation (HTR) and add command for Intel PT trace visualization 2021-07-28 13:56:45 -07:00