[Lldb-commits] [PATCH] D84810: [intel-pt] Simplify Python API configuration

walter erquinigo via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Jul 28 16:25:03 PDT 2020


wallace created this revision.
wallace added reviewers: clayborg, labath, kusmour.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
wallace requested review of this revision.

Depends on D84791 <https://reviews.llvm.org/D84791>.
The existing way to configure Intel PT tracing through the Python API isn't
trivial. Thus, I'm creating a helper method GetDefaultTraceOptions, which
creates an SBTraceOptions object ready to be used for tracing. This simplifies
the Python code and even some existing C++ code.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D84810

Files:
  lldb/test/API/tools/intel-features/intel-pt/test/TestIntelPTSimpleBinary.py
  lldb/tools/intel-features/intel-pt/Decoder.cpp
  lldb/tools/intel-features/intel-pt/Decoder.h
  lldb/tools/intel-features/intel-pt/PTDecoder.cpp
  lldb/tools/intel-features/intel-pt/PTDecoder.h
  lldb/tools/intel-features/intel-pt/cli-wrapper-pt.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84810.281409.patch
Type: text/x-patch
Size: 5776 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200728/ede5a15c/attachment-0001.bin>


More information about the lldb-commits mailing list